org.jboss.soa.esb.services.jbpm.cmd
Class HungryVariablesCommand

java.lang.Object
  extended by org.jbpm.command.AbstractBaseCommand
      extended by org.jbpm.command.VariablesCommand
          extended by org.jboss.soa.esb.services.jbpm.cmd.HungryVariablesCommand
All Implemented Interfaces:
java.io.Serializable, org.jbpm.command.Command

public class HungryVariablesCommand
extends org.jbpm.command.VariablesCommand

Get the process variables Map.

This version of VariablesCommand "hungrily" gets the process variable, while still inside the jBPM execution context.

VariablesCommand just returns a lazy proxy that gets the variables lazily. Gets from this proxy fail outside the context of a jBPM execution context.

Author:
tom.fennelly@jboss.com
See Also:
Serialized Form

Constructor Summary
HungryVariablesCommand()
           
 
Method Summary
 java.lang.Object execute(org.jbpm.JbpmContext jbpmContext)
           
 
Methods inherited from class org.jbpm.command.VariablesCommand
getAdditionalToStringInformation, getTaskInstanceId, getTokenId, getVariableContainer, getVariableContainer, getVariables, setTaskInstanceId, setTokenId, setVariables, taskInstanceId, tokenId, variables
 
Methods inherited from class org.jbpm.command.AbstractBaseCommand
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HungryVariablesCommand

public HungryVariablesCommand()
Method Detail

execute

public java.lang.Object execute(org.jbpm.JbpmContext jbpmContext)
                         throws java.lang.Exception
Specified by:
execute in interface org.jbpm.command.Command
Overrides:
execute in class org.jbpm.command.VariablesCommand
Throws:
java.lang.Exception