Interface BatchConfiguration
public interface BatchConfiguration
A configuration for the
BatchEnvironment behavior.- Author:
- James R. Perkins
-
Method Summary
Modifier and TypeMethodDescriptionorg.jberet.spi.JobExecutorReturns the default job executor to use.org.jberet.repository.JobRepositoryReturns the default job repository to use.org.wildfly.security.auth.server.SecurityDomainReturns the security domain if defined.booleanIndicates whether or no batch jobs should be restarted on a resume operation if they were stopped during a suspend.
-
Method Details
-
isRestartOnResume
boolean isRestartOnResume()Indicates whether or no batch jobs should be restarted on a resume operation if they were stopped during a suspend.- Returns:
trueto restart jobs on resume otherwisefalseto leave the jobs in a stopped state
-
getDefaultJobRepository
org.jberet.repository.JobRepository getDefaultJobRepository()Returns the default job repository to use.- Returns:
- the default job repository
-
getDefaultJobExecutor
org.jberet.spi.JobExecutor getDefaultJobExecutor()Returns the default job executor to use.- Returns:
- the default job executor
-
getSecurityDomain
org.wildfly.security.auth.server.SecurityDomain getSecurityDomain()Returns the security domain if defined.- Returns:
- the security domain or
nullif not defined
-