org.jbpm.pvm.internal.svc
Class AsyncCommandMessage

java.lang.Object
  extended by org.jbpm.pvm.internal.job.JobImpl
      extended by org.jbpm.pvm.internal.job.MessageImpl
          extended by org.jbpm.pvm.internal.svc.AsyncCommandMessage
All Implemented Interfaces:
java.io.Serializable, Command<java.lang.Boolean>, Job, Message

public class AsyncCommandMessage
extends MessageImpl

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.pvm.internal.job.JobImpl
commandDescriptor, configuration, configurationBytes, dbid, dbversion, dueDate, exception, execution, isExclusive, lockExpirationTime, lockOwner, processInstance, retries, state, STATE_ACQUIRED, STATE_ERROR, STATE_SUSPENDED, STATE_WAITING
 
Constructor Summary
AsyncCommandMessage(Command<?> command)
           
AsyncCommandMessage(Command<?> command, java.lang.String userId)
           
 
Method Summary
protected  void executeVoid(Environment environment)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jbpm.pvm.internal.job.MessageImpl
execute
 
Methods inherited from class org.jbpm.pvm.internal.job.JobImpl
acquire, getCommandDescriptor, getConfiguration, getDbid, getDuedate, getDueDate, getException, getExecution, getId, getLockExpirationTime, getLockOwner, getProcessInstance, getRetries, isExclusive, release, resume, setCommandDescriptor, setConfiguration, setDbid, setDuedate, setDueDate, setException, setExclusive, setExecution, setLockExpirationTime, setLockOwner, setRetries, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbpm.api.job.Job
getDuedate, getDueDate, getException, getExecution, getId, getLockExpirationTime, getLockOwner, getProcessInstance, getRetries, isExclusive
 

Constructor Detail

AsyncCommandMessage

public AsyncCommandMessage(Command<?> command)

AsyncCommandMessage

public AsyncCommandMessage(Command<?> command,
                           java.lang.String userId)
Method Detail

executeVoid

protected void executeVoid(Environment environment)
                    throws java.lang.Exception
Specified by:
executeVoid in class MessageImpl
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010 JBoss Community. All Rights Reserved.