org.ow2.bonita.pvm.internal.svc
Class AsyncCommandMessage

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

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

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ow2.bonita.pvm.internal.job.JobImpl
commandDescriptor, 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)
           
 java.lang.String toString()
           
 
Methods inherited from class org.ow2.bonita.pvm.internal.job.MessageImpl
unlockExecution
 
Methods inherited from class org.ow2.bonita.pvm.internal.job.JobImpl
getCommandDescriptor, getDbid, getDueDate, getException, getExecution, getLockExpirationTime, getLockOwner, getProcessInstance, getRetries, isExclusive, isSuspended, setCommandDescriptor, setDbid, setDueDate, setException, setExclusive, setExecution, setLockExpirationTime, setLockOwner, setRetries, setSuspended
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ow2.bonita.pvm.job.Job
getDbid, getDueDate, getException, getExecution, getLockExpirationTime, getLockOwner, getProcessInstance, getRetries, isExclusive, isSuspended
 

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

toString

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


Copyright © 2009 OW2 Consortium. All Rights Reserved.