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