@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.PostConstructpublic void setExecutorService(ExecutorService executorService)
public void event(EventListener.Event event)
EventListenerevent in interface EventListenerpublic String getDataSourceLookupName()
public static String getDefaultDataSourceLookupNameForTarget(String targetName)
public String getExecutorServiceLookupName()
public ExecutorService lookupExecutorService()
public ExecutorService lookupExecutorService(String exeLookupName)
Copyright © 2017. All rights reserved.