public class DelegatingBatchEnvironment extends Object implements org.jberet.spi.BatchEnvironment
Constructor and Description |
---|
DelegatingBatchEnvironment() |
Modifier and Type | Method and Description |
---|---|
org.jberet.spi.ArtifactFactory |
getArtifactFactory() |
Properties |
getBatchConfigurationProperties() |
ClassLoader |
getClassLoader() |
TransactionManager |
getTransactionManager() |
<T> Future<T> |
submitTask(Callable<T> task) |
Future<?> |
submitTask(Runnable task) |
<T> Future<T> |
submitTask(Runnable task,
T result) |
public ClassLoader getClassLoader()
getClassLoader
in interface org.jberet.spi.BatchEnvironment
public org.jberet.spi.ArtifactFactory getArtifactFactory()
getArtifactFactory
in interface org.jberet.spi.BatchEnvironment
public Future<?> submitTask(Runnable task)
submitTask
in interface org.jberet.spi.BatchEnvironment
public <T> Future<T> submitTask(Runnable task, T result)
submitTask
in interface org.jberet.spi.BatchEnvironment
public <T> Future<T> submitTask(Callable<T> task)
submitTask
in interface org.jberet.spi.BatchEnvironment
public TransactionManager getTransactionManager()
getTransactionManager
in interface org.jberet.spi.BatchEnvironment
public Properties getBatchConfigurationProperties()
getBatchConfigurationProperties
in interface org.jberet.spi.BatchEnvironment
Copyright © 2015 JBoss by Red Hat. All rights reserved.