Interface BatchConfiguration
-
public interface BatchConfigurationA configuration for theBatchEnvironmentbehavior.- Author:
- James R. Perkins
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jberet.spi.JobExecutorgetDefaultJobExecutor()Returns the default job executor to use.org.jberet.repository.JobRepositorygetDefaultJobRepository()Returns the default job repository to use.org.wildfly.security.auth.server.SecurityDomaingetSecurityDomain()Returns the security domain if defined.booleanisRestartOnResume()Indicates whether or no batch jobs should be restarted on a resume operation if they were stopped during a suspend.
-
-
-
Method Detail
-
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
-
-