
public final class BatchSEEnvironment extends Object implements BatchEnvironment
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_FILE_NAME |
static String |
JOB_REPOSITORY_TYPE_KEY |
static String |
REPOSITORY_TYPE_IN_MEMORY |
static String |
REPOSITORY_TYPE_INFINISPAN |
static String |
REPOSITORY_TYPE_JDBC |
static String |
REPOSITORY_TYPE_MONGODB |
| Constructor and Description |
|---|
BatchSEEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactFactory |
getArtifactFactory()
Gets an implementation of ArtifactFactory appropriate for the current runtime environment.
|
Properties |
getBatchConfigurationProperties()
Gets configuration data for batch container.
|
ClassLoader |
getClassLoader()
Gets the class loader suitable for loading application classes and batch artifacts.
|
JobRepository |
getJobRepository()
Returns the job repository used for this environment.
|
JobXmlResolver |
getJobXmlResolver()
Returns the job XML resolver used to locate the job XML content.
|
TransactionManager |
getTransactionManager()
Returns a transaction manager to be used for executions that require a transaction.
|
void |
submitTask(JobTask task)
Submits a
runnable task for execution. |
public static final String CONFIG_FILE_NAME
public static final String JOB_REPOSITORY_TYPE_KEY
public static final String REPOSITORY_TYPE_IN_MEMORY
public static final String REPOSITORY_TYPE_JDBC
public static final String REPOSITORY_TYPE_MONGODB
public static final String REPOSITORY_TYPE_INFINISPAN
public ClassLoader getClassLoader()
BatchEnvironmentgetClassLoader in interface BatchEnvironmentpublic ArtifactFactory getArtifactFactory()
BatchEnvironmentgetArtifactFactory in interface BatchEnvironmentpublic void submitTask(JobTask task)
BatchEnvironmentrunnable task for execution.submitTask in interface BatchEnvironmenttask - the task to submitpublic TransactionManager getTransactionManager()
BatchEnvironmentgetTransactionManager in interface BatchEnvironmentpublic JobRepository getJobRepository()
BatchEnvironmentgetJobRepository in interface BatchEnvironmentpublic JobXmlResolver getJobXmlResolver()
BatchEnvironmentgetJobXmlResolver in interface BatchEnvironmentpublic Properties getBatchConfigurationProperties()
BatchEnvironmentgetBatchConfigurationProperties in interface BatchEnvironmentCopyright © 2016 JBoss by Red Hat. All rights reserved.