public interface BatchEnvironment
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. |
ClassLoader getClassLoader()
ArtifactFactory getArtifactFactory()
void submitTask(JobTask task)
runnable
task for execution.task
- the task to submitTransactionManager getTransactionManager()
JobRepository getJobRepository()
JobXmlResolver getJobXmlResolver()
Properties getBatchConfigurationProperties()
Copyright © 2016 JBoss by Red Hat. All rights reserved.