org.jboss.soa.esb.services.jbpm.actions
Class BpmProcessor
java.lang.Object
org.jboss.soa.esb.services.jbpm.actions.BpmProcessor
- All Implemented Interfaces:
- ActionLifecycle
public class BpmProcessor
- extends java.lang.Object
- implements ActionLifecycle
Processes a single jBPM command.
Part of the message content will be taken from constructor time configuration
(from the action configuration XML)
- Author:
- schifest@heuristica.com.ar, Kurt Stam, Daniel Bevenius
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
messageFacade
protected MessageFacade messageFacade
configTree
protected ConfigTree configTree
BpmProcessor
public BpmProcessor(ConfigTree configTree)
throws ConfigurationException
- Throws:
ConfigurationException
destroy
public void destroy()
throws ActionLifecycleException
- Description copied from interface:
ActionLifecycle
- Destroy the action instance.
This method is called prior to the release of the action instance. All
resources associated with this action instance should be released as the
instance will no longer be used.
- Specified by:
destroy
in interface ActionLifecycle
- Throws:
ActionLifecycleException
initialise
public void initialise()
throws ActionLifecycleException
- Description copied from interface:
ActionLifecycle
- Initialise the action instance.
This method is called after the action instance has been instantiated so that
configuration options can be validated.
- Specified by:
initialise
in interface ActionLifecycle
- Throws:
ActionLifecycleException
- for errors during initialisation.
process
public Message process(Message message)
throws ConfigurationException
- Throws:
ConfigurationException