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()
BatchEnvironment
getClassLoader
in interface BatchEnvironment
public ArtifactFactory getArtifactFactory()
BatchEnvironment
getArtifactFactory
in interface BatchEnvironment
public ExecutorService getExecutorService()
BatchEnvironment
getExecutorService
in interface BatchEnvironment
public UserTransaction getUserTransaction()
BatchEnvironment
getUserTransaction
in interface BatchEnvironment
public Properties getBatchConfigurationProperties()
BatchEnvironment
getBatchConfigurationProperties
in interface BatchEnvironment
public ThreadContextSetup getThreadContextSetup()
BatchEnvironment
getThreadContextSetup
in interface BatchEnvironment
public <T> T lookup(String name) throws NamingException
BatchEnvironment
lookup
in interface BatchEnvironment
T
- 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.