org.jboss.soa.esb.actions
Class ActionDefinition

java.lang.Object
  extended by org.jboss.soa.esb.actions.ActionDefinition

public class ActionDefinition
extends java.lang.Object

Action Definition.

An Action is defined by "name", an action "processor" instance to perform the processing action, plus properties to the processing action to be supplued to the processor instance.

Since:
Version 4.0
Author:
tom.fennelly@jboss.com

Constructor Summary
protected ActionDefinition(java.lang.String name, java.lang.String processor, java.util.List<KeyValuePair> properties)
          Private constructor.
 
Method Summary
 java.lang.String getName()
          Get the action name.
 ActionProcessor getProcessor()
          Get the action processor instance.
 java.util.List<KeyValuePair> getProperties()
          Get the action properties to be supplied to the action processor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionDefinition

protected ActionDefinition(java.lang.String name,
                           java.lang.String processor,
                           java.util.List<KeyValuePair> properties)
Private constructor.

Parameters:
name - The action name.
processor - The action processor runtime class.
properties - Action properties list. An empty list for an action with no defined properties.
Method Detail

getName

public java.lang.String getName()
Get the action name.

Returns:
The action name.

getProcessor

public ActionProcessor getProcessor()
Get the action processor instance.

Returns:
The Action Processor.

getProperties

public java.util.List<KeyValuePair> getProperties()
Get the action properties to be supplied to the action processor.

Returns:
The configured action properties. An empty list for an action with no defined properties.