Class BatchRuntimeHelper

  • All Implemented Interfaces:
    EventListener, org.glassfish.hk2.api.PostConstruct

    @Service
    @RunLevel(10)
    public class BatchRuntimeHelper
    extends Object
    implements org.glassfish.hk2.api.PostConstruct, EventListener
    Helper class to get values for Batch Runtime. Follows zero-config rules by using default values when the batch-runtime config object is not present in domain.xml
    Author:
    Mahesh Kannan
    • Constructor Detail

      • BatchRuntimeHelper

        public BatchRuntimeHelper()
    • Method Detail

      • checkAndInitializeBatchRuntime

        public void checkAndInitializeBatchRuntime()
      • postConstruct

        public void postConstruct()
        Specified by:
        postConstruct in interface org.glassfish.hk2.api.PostConstruct
      • setExecutorService

        public void setExecutorService​(ExecutorService executorService)
      • getDataSourceLookupName

        public String getDataSourceLookupName()
      • getDefaultDataSourceLookupNameForTarget

        public static String getDefaultDataSourceLookupNameForTarget​(String targetName)
      • getExecutorServiceLookupName

        public String getExecutorServiceLookupName()