public final class BatchSEEnvironment extends Object implements BatchEnvironment
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_FILE_NAME |
| Constructor and Description |
|---|
BatchSEEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactFactory |
getArtifactFactory()
Gets an implementation of ArtifactFactory appropriate for the current runtime environment.
|
Properties |
getBatchConfigurationProperties()
Gets configuration data for batch container.
|
ClassLoader |
getClassLoader()
Gets the class loader suitable for loading application classes and batch artifacts.
|
ExecutorService |
getExecutorService()
Gets an ExecutorService appropriate for the current runtime environment.
|
ThreadContextSetup |
getThreadContextSetup()
Allows setup of the local thread context before execution.
|
UserTransaction |
getUserTransaction()
Gets the UserTransaction
|
<T> T |
lookup(String name)
Retrieves the named object.
|
public static final String CONFIG_FILE_NAME
public ClassLoader getClassLoader()
BatchEnvironmentgetClassLoader in interface BatchEnvironmentpublic ArtifactFactory getArtifactFactory()
BatchEnvironmentgetArtifactFactory in interface BatchEnvironmentpublic ExecutorService getExecutorService()
BatchEnvironmentgetExecutorService in interface BatchEnvironmentpublic UserTransaction getUserTransaction()
BatchEnvironmentgetUserTransaction in interface BatchEnvironmentpublic Properties getBatchConfigurationProperties()
BatchEnvironmentgetBatchConfigurationProperties in interface BatchEnvironmentpublic ThreadContextSetup getThreadContextSetup()
BatchEnvironmentgetThreadContextSetup in interface BatchEnvironmentpublic <T> T lookup(String name) throws NamingException
BatchEnvironmentlookup in interface BatchEnvironmentT - the type of the object to returnname - the name of the object to look upNamingException - if a naming exception occursContext.lookup(String)Copyright © 2013 JBoss by Red Hat. All rights reserved.