public class BatchWorkUnit extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected BatchKernelService |
batchKernel |
protected ThreadRootController |
controller |
protected RuntimeJobExecution |
jobExecutionImpl |
protected boolean |
notifyCallbackWhenDone |
Constructor and Description |
---|
BatchWorkUnit(ServicesManager manager,
RuntimeJobExecution jobExecutionImpl) |
BatchWorkUnit(ServicesManager manager,
RuntimeJobExecution jobExecutionImpl,
boolean notifyCallbackWhenDone) |
Modifier and Type | Method and Description |
---|---|
BatchKernelService |
getBatchKernel() |
protected javax.batch.runtime.BatchStatus |
getBatchStatus() |
ThreadRootController |
getController() |
protected String |
getExitStatus() |
RuntimeJobExecution |
getJobExecutionImpl() |
boolean |
isNotifyCallbackWhenDone() |
protected void |
markThreadCompleted() |
void |
run() |
void |
setBatchKernel(BatchKernelService batchKernel) |
void |
setJobExecutionImpl(RuntimeJobExecution jobExecutionImpl) |
void |
setNotifyCallbackWhenDone(boolean notifyCallbackWhenDone) |
protected RuntimeJobExecution jobExecutionImpl
protected BatchKernelService batchKernel
protected ThreadRootController controller
protected boolean notifyCallbackWhenDone
public BatchWorkUnit(ServicesManager manager, RuntimeJobExecution jobExecutionImpl)
public BatchWorkUnit(ServicesManager manager, RuntimeJobExecution jobExecutionImpl, boolean notifyCallbackWhenDone)
public ThreadRootController getController()
protected javax.batch.runtime.BatchStatus getBatchStatus()
protected String getExitStatus()
public void setBatchKernel(BatchKernelService batchKernel)
public BatchKernelService getBatchKernel()
public void setJobExecutionImpl(RuntimeJobExecution jobExecutionImpl)
public RuntimeJobExecution getJobExecutionImpl()
public void setNotifyCallbackWhenDone(boolean notifyCallbackWhenDone)
public boolean isNotifyCallbackWhenDone()
protected void markThreadCompleted()
Copyright © 2017 The Apache Software Foundation. All rights reserved.