Interface BatchConfiguration


  • public interface BatchConfiguration
    A configuration for the BatchEnvironment behavior.
    Author:
    James R. Perkins
    • 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:
        true to restart jobs on resume otherwise false to 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 null if not defined