org.jbpm.client.impl
Class AsyncCommandMessage

java.lang.Object
  extended by org.jbpm.env.session.Job<T>
      extended by org.jbpm.env.session.Message<java.lang.Object>
          extended by org.jbpm.client.impl.AsyncCommandMessage
All Implemented Interfaces:
java.io.Serializable, Command<java.lang.Object>

public class AsyncCommandMessage
extends Message<java.lang.Object>

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.env.session.Job
dbid, dbversion, dueDate, exception, execution, isExclusive, isSuspended, lockExpirationTime, lockOwner, processInstance, retries
 
Constructor Summary
AsyncCommandMessage(Command<?> command)
           
AsyncCommandMessage(Command<?> command, java.lang.String userId)
           
 
Method Summary
 java.lang.Object execute(Environment environment)
           
 
Methods inherited from class org.jbpm.env.session.Message
unlockExecution
 
Methods inherited from class org.jbpm.env.session.Job
getDbid, getDueDate, getException, getExecution, getLockExpirationTime, getLockOwner, getProcessInstance, getRetries, isExclusive, isSuspended, setDbid, setDueDate, setException, setExclusive, setLockExpirationTime, setLockOwner, setRetries, setSuspended, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsyncCommandMessage

public AsyncCommandMessage(Command<?> command)

AsyncCommandMessage

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

execute

public java.lang.Object execute(Environment environment)
                         throws java.lang.Exception
Throws:
java.lang.Exception