public class DefaultBatchEnvironment extends Object implements org.jberet.spi.BatchEnvironment
BatchRuntimeException for each method. Deployments should not end up with this
environment. This is used as a fallback in cases where the JobOperatorContextSelector cannot
find an appropriate environment.| Modifier and Type | Field and Description |
|---|---|
static DefaultBatchEnvironment |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName() |
org.jberet.spi.ArtifactFactory |
getArtifactFactory() |
Properties |
getBatchConfigurationProperties() |
ClassLoader |
getClassLoader() |
org.jberet.repository.JobRepository |
getJobRepository() |
org.jberet.spi.JobXmlResolver |
getJobXmlResolver() |
TransactionManager |
getTransactionManager() |
void |
submitTask(org.jberet.spi.JobTask jobTask) |
public static final DefaultBatchEnvironment INSTANCE
public ClassLoader getClassLoader()
getClassLoader in interface org.jberet.spi.BatchEnvironmentpublic org.jberet.spi.ArtifactFactory getArtifactFactory()
getArtifactFactory in interface org.jberet.spi.BatchEnvironmentpublic void submitTask(org.jberet.spi.JobTask jobTask)
submitTask in interface org.jberet.spi.BatchEnvironmentpublic TransactionManager getTransactionManager()
getTransactionManager in interface org.jberet.spi.BatchEnvironmentpublic org.jberet.repository.JobRepository getJobRepository()
getJobRepository in interface org.jberet.spi.BatchEnvironmentpublic org.jberet.spi.JobXmlResolver getJobXmlResolver()
getJobXmlResolver in interface org.jberet.spi.BatchEnvironmentpublic Properties getBatchConfigurationProperties()
getBatchConfigurationProperties in interface org.jberet.spi.BatchEnvironmentpublic String getApplicationName()
getApplicationName in interface org.jberet.spi.BatchEnvironmentCopyright © 2022 JBoss by Red Hat. All rights reserved.