org.jboss.soa.esb.services.jbpm.integration.job
Class ExecuteTimerCommand

java.lang.Object
  extended by org.jboss.soa.esb.services.jbpm.integration.job.ExecuteTimerCommand

public class ExecuteTimerCommand
extends java.lang.Object

Command for processing timer executions, based on the jBPM code.


Constructor Summary
ExecuteTimerCommand(long timerId, boolean redelivered)
          Create the timer command with a specified timer id.
 
Method Summary
 java.lang.Object execute(JbpmContext jbpmContext)
          Execute the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecuteTimerCommand

public ExecuteTimerCommand(long timerId,
                           boolean redelivered)
Create the timer command with a specified timer id.

Parameters:
timerId - The associated timer id.
redelivered - The redelivered flag.
Method Detail

execute

public java.lang.Object execute(JbpmContext jbpmContext)
                         throws java.lang.Exception
Execute the command.

Parameters:
jbpmContext - The jBPM context associated with the execution.
Throws:
java.lang.Exception - for errors during execution.