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

java.lang.Object
  extended by org.jboss.soa.esb.services.jbpm.integration.job.ExecuteTimerCommand
All Implemented Interfaces:
java.io.Serializable, org.jbpm.command.Command

public class ExecuteTimerCommand
extends java.lang.Object
implements org.jbpm.command.Command

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

See Also:
Serialized Form

Constructor Summary
ExecuteTimerCommand(long timerId)
          Create the timer command with a specified timer id.
 
Method Summary
 java.lang.Object execute(org.jbpm.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)
Create the timer command with a specified timer id.

Parameters:
timerId - The associated timer id.
Method Detail

execute

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

Specified by:
execute in interface org.jbpm.command.Command
Parameters:
jbpmContext - The jBPM context associated with the execution.
Throws:
java.lang.Exception - for errors during execution.