@Service @RunLevel(value=10) public class BatchRuntimeHelper extends Object implements org.glassfish.hk2.api.PostConstruct, EventListener
EventListener.Event<T>
Modifier and Type | Field and Description |
---|---|
static String |
PAYARA_TABLE_PREFIX_PROPERTY |
static String |
PAYARA_TABLE_SUFFIX_PROPERTY |
Constructor and Description |
---|
BatchRuntimeHelper() |
Modifier and Type | Method and Description |
---|---|
void |
checkAndInitializeBatchRuntime() |
void |
event(EventListener.Event event)
Process a Glassfish/Payara event
|
String |
getDataSourceLookupName() |
static String |
getDefaultDataSourceLookupNameForTarget(String targetName) |
String |
getExecutorServiceLookupName() |
ExecutorService |
lookupExecutorService() |
ExecutorService |
lookupExecutorService(String exeLookupName) |
void |
postConstruct() |
void |
setExecutorService(ExecutorService executorService) |
public static final String PAYARA_TABLE_PREFIX_PROPERTY
public static final String PAYARA_TABLE_SUFFIX_PROPERTY
public void checkAndInitializeBatchRuntime()
public void postConstruct()
postConstruct
in interface org.glassfish.hk2.api.PostConstruct
public void setExecutorService(ExecutorService executorService)
public void event(EventListener.Event event)
EventListener
event
in interface EventListener
public String getDataSourceLookupName()
public static String getDefaultDataSourceLookupNameForTarget(String targetName)
public String getExecutorServiceLookupName()
public ExecutorService lookupExecutorService()
public ExecutorService lookupExecutorService(String exeLookupName)
Copyright © 2018. All rights reserved.