org.jbpm.pvm.internal.job
Class MessageImpl

java.lang.Object
  extended by org.jbpm.pvm.internal.job.JobImpl
      extended by org.jbpm.pvm.internal.job.MessageImpl
All Implemented Interfaces:
java.io.Serializable, Command<java.lang.Boolean>, Job, Message
Direct Known Subclasses:
AsyncCommandMessage, CommandMessage, ExecuteActivityMessage, ExecuteEventListenerMessage, SignalMessage, TransitionStartActivityMessage

public abstract class MessageImpl
extends JobImpl
implements Message

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
MessageImpl()
           
MessageImpl(ExecutionImpl execution)
           
 
Method Summary
 java.lang.Boolean execute(Environment environment)
           
protected abstract  void executeVoid(Environment environment)
           
 
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, toString, wait, wait, wait
 
Methods inherited from interface org.jbpm.api.job.Job
getDuedate, getDueDate, getException, getExecution, getId, getLockExpirationTime, getLockOwner, getProcessInstance, getRetries, isExclusive
 

Constructor Detail

MessageImpl

public MessageImpl()

MessageImpl

public MessageImpl(ExecutionImpl execution)
Method Detail

execute

public java.lang.Boolean execute(Environment environment)
                          throws java.lang.Exception
Specified by:
execute in interface Command<java.lang.Boolean>
Throws:
java.lang.Exception

executeVoid

protected abstract void executeVoid(Environment environment)
                             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 JBoss Community. All Rights Reserved.