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

java.lang.Object
  extended by org.jboss.soa.esb.services.jbpm.cmd.MessageFacade
      extended by org.jboss.soa.esb.services.jbpm.cmd.GetProcessVariablesFacade

public class GetProcessVariablesFacade
extends MessageFacade

Get process variable facade.

Author:
tom.fennelly@jboss.com

Constructor Summary
GetProcessVariablesFacade(ConfigTree configTree)
           
 
Method Summary
static java.util.List<Mapping> getMappings(Message message)
           
 Constants.OpCode getOpCode()
          Obtain the operation code that this preprocessor will force into the command message
 void setJBPMContextParameters(Message message)
          Some message values are fixed at action configuration time (from the jboss-esb.xml).
 
Methods inherited from class org.jboss.soa.esb.services.jbpm.cmd.MessageFacade
getFacade
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetProcessVariablesFacade

public GetProcessVariablesFacade(ConfigTree configTree)
                          throws ConfigurationException
Throws:
ConfigurationException
Method Detail

getOpCode

public Constants.OpCode getOpCode()
Description copied from class: MessageFacade
Obtain the operation code that this preprocessor will force into the command message

Specified by:
getOpCode in class MessageFacade
Returns:
Constants.OpCode

setJBPMContextParameters

public void setJBPMContextParameters(Message message)
Description copied from class: MessageFacade
Some message values are fixed at action configuration time (from the jboss-esb.xml).
This method is responsible of stuffing these static values into every Message before passing it to the generic CommandInterpreter process(Message) method
Some of the Message content will thus come from configuration XML, and some will be the users' responsibility (e.g. processId, tokenId, etc)
Variable name mapping between esb and jBPM is also handled by this interface

Specified by:
setJBPMContextParameters in class MessageFacade
Parameters:
message - Message - Into which the static values will be added

getMappings

public static java.util.List<Mapping> getMappings(Message message)