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

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

public class AsyncCommandMessage
extends MessageImpl<Object>

Author:
Tom Baeyens
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.ow2.orchestra.pvm.internal.job.JobImpl
JobImpl.JobException
 
Field Summary
protected  Command<?> command
           
protected  String userId
           
 
Fields inherited from class org.ow2.orchestra.pvm.internal.job.JobImpl
commandDescriptor, dbid, dbversion, delay, dueDate, exception, execution, isDefaultRetries, isExclusive, isSuspended, lockExpirationTime, lockOwner, priority, processInstance, retries
 
Constructor Summary
AsyncCommandMessage(Command<?> command)
           
AsyncCommandMessage(Command<?> command, String userId)
           
 
Method Summary
 Object execute(Environment environment)
           
 String toString()
           
 
Methods inherited from class org.ow2.orchestra.pvm.internal.job.MessageImpl
unlockExecution
 
Methods inherited from class org.ow2.orchestra.pvm.internal.job.JobImpl
getCommandDescriptor, getDbid, getDbversion, getDelay, getDueDate, getException, getExecution, getLockExpirationTime, getLockOwner, getPriority, getProcessInstance, getRetries, isDefaultRetries, isExclusive, isSuspended, setCommandDescriptor, setDbid, setDelay, setDueDate, setException, setExclusive, setExecution, setLockExpirationTime, setLockOwner, setPriority, 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.orchestra.pvm.job.Job
getDbid, getDueDate, getException, getExecution, getLockExpirationTime, getLockOwner, getPriority, getProcessInstance, getRetries, isExclusive, isSuspended
 

Field Detail

command

protected final Command<?> command

userId

protected String userId
Constructor Detail

AsyncCommandMessage

public AsyncCommandMessage(Command<?> command)

AsyncCommandMessage

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

execute

public Object execute(Environment environment)

toString

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


Copyright © 2011 OW2 Consortium. All Rights Reserved.