Class DefaultBatchEnvironment
java.lang.Object
org.wildfly.extension.batch.jberet.DefaultBatchEnvironment
- All Implemented Interfaces:
org.jberet.spi.BatchEnvironment
An environment to act as a default batch environment for deployments. This environment throws an
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.- Author:
- James R. Perkins
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.jberet.spi.ArtifactFactoryorg.jberet.repository.JobRepositoryorg.jberet.spi.JobXmlResolverjakarta.transaction.TransactionManagervoidsubmitTask(org.jberet.spi.JobTask jobTask)
-
Field Details
-
INSTANCE
-
-
Method Details
-
getClassLoader
- Specified by:
getClassLoaderin interfaceorg.jberet.spi.BatchEnvironment
-
getArtifactFactory
public org.jberet.spi.ArtifactFactory getArtifactFactory()- Specified by:
getArtifactFactoryin interfaceorg.jberet.spi.BatchEnvironment
-
submitTask
public void submitTask(org.jberet.spi.JobTask jobTask) - Specified by:
submitTaskin interfaceorg.jberet.spi.BatchEnvironment
-
getTransactionManager
public jakarta.transaction.TransactionManager getTransactionManager()- Specified by:
getTransactionManagerin interfaceorg.jberet.spi.BatchEnvironment
-
getJobRepository
public org.jberet.repository.JobRepository getJobRepository()- Specified by:
getJobRepositoryin interfaceorg.jberet.spi.BatchEnvironment
-
getJobXmlResolver
public org.jberet.spi.JobXmlResolver getJobXmlResolver()- Specified by:
getJobXmlResolverin interfaceorg.jberet.spi.BatchEnvironment
-
getBatchConfigurationProperties
- Specified by:
getBatchConfigurationPropertiesin interfaceorg.jberet.spi.BatchEnvironment
-
getApplicationName
- Specified by:
getApplicationNamein interfaceorg.jberet.spi.BatchEnvironment
-