|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.actions.AbstractActionLifecycle org.jboss.soa.esb.actions.AbstractActionPipelineProcessor org.jboss.soa.esb.actions.naming.FileNameGeneratorAction
public class FileNameGeneratorAction
Action that generates a filename based on a naming strategy.
Field Summary | |
---|---|
static java.lang.String |
ATTR_CLASS
Class attribute |
static java.lang.String |
DEFAULT_RESULT_PROPERTY
Default name for processing result |
static java.lang.String |
ELEMENT_STRATEGY
Tag for strategy element |
protected java.util.List<FileNamingStrategy> |
strategyImpls
List of strategy instances created from XML |
Fields inherited from interface org.jboss.soa.esb.actions.ActionPipelineProcessor |
---|
PROCESS_EXCEPTION_METHOD, PROCESS_METHOD, PROCESS_SUCCESS_METHOD |
Constructor Summary | |
---|---|
FileNameGeneratorAction()
|
Method Summary | |
---|---|
protected void |
createStrategies()
Create a List of strategy implentations from the XML. |
protected FileNamingStrategy |
createStrategy(org.w3c.dom.Node strategyNode)
Create a strategy instance given a DOM node. |
java.lang.String |
getFileNameProperty()
Get the property that holds the initial file name. |
java.lang.String |
getResultProperty()
Get the property that holds the processed file name. |
java.lang.String |
getStrategies()
Set the string containing XML for strategies. |
Message |
process(Message message)
Perform the action processing on the specified message. |
void |
setFileNameProperty(java.lang.String fileNameProperty)
Set the property that holds the initial file name. |
void |
setResultProperty(java.lang.String resultProperty)
Set the property that holds the processed file name. |
void |
setStrategies(java.lang.String strategies)
Set the string containing XML for strategies. |
Methods inherited from class org.jboss.soa.esb.actions.AbstractActionPipelineProcessor |
---|
processException, processSuccess |
Methods inherited from class org.jboss.soa.esb.actions.AbstractActionLifecycle |
---|
destroy, initialise |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.soa.esb.actions.ActionLifecycle |
---|
destroy, initialise |
Field Detail |
---|
protected java.util.List<FileNamingStrategy> strategyImpls
public static final java.lang.String DEFAULT_RESULT_PROPERTY
public static final java.lang.String ELEMENT_STRATEGY
public static final java.lang.String ATTR_CLASS
Constructor Detail |
---|
public FileNameGeneratorAction()
Method Detail |
---|
public Message process(Message message) throws ActionProcessingException
ActionPipelineProcessor
process
in interface ActionPipelineProcessor
message
- The current message being processed.
ActionProcessingException
- for errors during processing.protected void createStrategies()
protected FileNamingStrategy createStrategy(org.w3c.dom.Node strategyNode)
strategyNode
-
public void setFileNameProperty(java.lang.String fileNameProperty)
fileNameProperty
- public java.lang.String getFileNameProperty()
public void setResultProperty(java.lang.String resultProperty)
resultProperty
- public java.lang.String getResultProperty()
public void setStrategies(java.lang.String strategies)
strategies
- public java.lang.String getStrategies()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |