@Configuration
public class ImportServiceBeans
extends java.lang.Object
Constructor and Description |
---|
ImportServiceBeans() |
Modifier and Type | Method and Description |
---|---|
KeyValueStore<ImportBatchId,ImportBatchStatus> |
batchStore(ImportConfigSource config) |
FailedFinalisationHandler |
failedImportFinalisationHandler(ImportEnv env) |
FailedImportHandler |
failedImportHandler(ImportEnv env) |
TaskFileStore<ImportId> |
failedImportLogStore(ImportConfigSource config) |
ImportEnv |
importEnv(ImportConfigSource config,
SessionService session,
ImportService importer,
ChannelSource<QueuedImport> importSourceChannel,
SchedulingSource<ProcessedImport> importGcSourceChannel,
KeyValueStore<ImportBatchId,ImportBatchStatus> batchStore,
TaskFileStore<ImportId> failedImportLogStore,
MailRequestor mail,
MailConfigSource mailConfig) |
ImportFinaliser |
importFinaliser(ImportEnv env) |
ImportProcessor |
importProcessor(ImportEnv env) |
ImportRequestor |
importRequestor(ImportEnv env) |
ImportTracker |
importTracker(ImportEnv env) |
@Bean public TaskFileStore<ImportId> failedImportLogStore(ImportConfigSource config)
@Bean public KeyValueStore<ImportBatchId,ImportBatchStatus> batchStore(ImportConfigSource config)
@Bean public ImportEnv importEnv(ImportConfigSource config, SessionService session, ImportService importer, ChannelSource<QueuedImport> importSourceChannel, SchedulingSource<ProcessedImport> importGcSourceChannel, KeyValueStore<ImportBatchId,ImportBatchStatus> batchStore, TaskFileStore<ImportId> failedImportLogStore, MailRequestor mail, MailConfigSource mailConfig)
@Bean public ImportRequestor importRequestor(ImportEnv env)
@Bean public ImportProcessor importProcessor(ImportEnv env)
@Bean public FailedImportHandler failedImportHandler(ImportEnv env)
@Bean public ImportTracker importTracker(ImportEnv env)
@Bean public ImportFinaliser importFinaliser(ImportEnv env)
@Bean public FailedFinalisationHandler failedImportFinalisationHandler(ImportEnv env)