org.jbpm.pvm.internal.cmd
Class ExecuteJobCmd
java.lang.Object
org.jbpm.pvm.internal.cmd.AbstractCommand<Job>
org.jbpm.pvm.internal.cmd.ExecuteJobCmd
- All Implemented Interfaces:
- java.io.Serializable, Command<Job>
public class ExecuteJobCmd
- extends AbstractCommand<Job>
- Author:
- Tom Baeyens, Huisheng Xu
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jobDbid
protected java.lang.Long jobDbid
jobExceptionHandler
protected JobExceptionHandler jobExceptionHandler
ExecuteJobCmd
public ExecuteJobCmd(java.lang.String jobId)
ExecuteJobCmd
public ExecuteJobCmd(java.lang.Long jobDbid)
execute
public Job execute(Environment environmentInterface)
throws java.lang.Exception
- Throws:
java.lang.Exception
handleJobExecutionException
protected void handleJobExecutionException(java.lang.Exception exception)
- This transaction will be marked for rollback. A command will be associated with the
Transaction.EVENT_AFTERCOMPLETION (after the job locks of the current transaction are
released). Then the command will update the job with the exception details in a separate
transaction.
registerJobExceptionHandler
protected void registerJobExceptionHandler(Environment environment,
JobImpl job)
Copyright © 2010 JBoss Community. All Rights Reserved.