public final class BatchSPIManager extends Object
| Modifier and Type | Method and Description |
|---|---|
BatchJobUtil |
getBatchJobUtil() |
BatchSecurityHelper |
getBatchSecurityHelper() |
DatabaseConfigurationBean |
getDataBaseConfigurationBean()
This is not the method that the 352 RI will call to get the
final configuration, and lock off further updates.
|
ExecutorServiceProvider |
getExecutorServiceProvider() |
DatabaseConfigurationBean |
getFinalDatabaseConfiguration()
Called by the core batch runtime at the point when it is ready to harden the database
configuration.
|
static BatchSPIManager |
getInstance() |
void |
registerBatchJobUtil(BatchJobUtil helper)
May be called at any point and will be immediately reflected in the singleton,
i.e.
|
void |
registerBatchSecurityHelper(BatchSecurityHelper helper)
May be called at any point and will be immediately reflected in the singleton,
i.e.
|
void |
registerDatabaseConfigurationBean(DatabaseConfigurationBean bean)
This only will have an impact if the batch container has not already hardened its
persistent store database configuration.
|
void |
registerExecutorServiceProvider(ExecutorServiceProvider provider)
May be called at any point and will be immediately reflected in the singleton,
i.e.
|
public static BatchSPIManager getInstance()
public BatchJobUtil getBatchJobUtil()
public BatchSecurityHelper getBatchSecurityHelper()
public ExecutorServiceProvider getExecutorServiceProvider()
public void registerBatchJobUtil(BatchJobUtil helper)
helper - implpublic void registerBatchSecurityHelper(BatchSecurityHelper helper)
helper - implpublic void registerExecutorServiceProvider(ExecutorServiceProvider provider)
provider - implpublic DatabaseConfigurationBean getDataBaseConfigurationBean()
getFinalDatabaseConfiguration()public void registerDatabaseConfigurationBean(DatabaseConfigurationBean bean) throws DatabaseAlreadyInitializedException
bean - DatabaseAlreadyInitializedException - If configuration has already been queried by the batch runtime.public DatabaseConfigurationBean getFinalDatabaseConfiguration()
© Copyright IBM Corp. 2013
Licensed under the Apache License, Version 2.0