|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.actions.naming.strategy.AbstractFileNamingStrategy
org.jboss.soa.esb.actions.naming.strategy.GroovyNamingStrategy
public class GroovyNamingStrategy
Naming strategy that executes a Groovy script to manipulate a filename.
Field Summary | |
---|---|
static java.lang.String |
ATTR_SCRIPT_PATH
XML attribute that holds the script pathx |
static java.lang.String |
DEFAULT_SCRIPT_PATH
Default path for the groovy script |
Constructor Summary | |
---|---|
GroovyNamingStrategy()
|
Method Summary | |
---|---|
void |
configure(org.w3c.dom.Node xml)
Configure the strategy from its XML node. |
java.lang.String |
getScriptPath()
Get the path to the script. |
java.lang.String |
process(java.lang.String filename,
Message message)
Process the incoming filename and generate an outgoing filename. |
void |
setScriptPath(java.lang.String scriptPath)
Set the path to the script. |
Methods inherited from class org.jboss.soa.esb.actions.naming.strategy.AbstractFileNamingStrategy |
---|
getFilenameWithoutSuffix, getSuffix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_SCRIPT_PATH
public static final java.lang.String ATTR_SCRIPT_PATH
Constructor Detail |
---|
public GroovyNamingStrategy()
Method Detail |
---|
public void configure(org.w3c.dom.Node xml)
FileNamingStrategy
public java.lang.String process(java.lang.String filename, Message message)
FileNamingStrategy
process
in interface FileNamingStrategy
process
in class AbstractFileNamingStrategy
public void setScriptPath(java.lang.String scriptPath)
scriptPath
- public java.lang.String getScriptPath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |