|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.handler.AbstractScriptExecutingMessageProcessor<java.lang.Object>
org.springframework.integration.groovy.GroovyScriptExecutingMessageProcessor
public class GroovyScriptExecutingMessageProcessor
Constructor Summary | |
---|---|
GroovyScriptExecutingMessageProcessor(ScriptSource scriptSource)
Create a processor for the given ScriptSource . |
Method Summary | |
---|---|
protected java.lang.Object |
executeScript(ScriptSource scriptSource,
Message<?> message)
Subclasses must implement this method. |
protected ScriptSource |
getScriptSource(Message<?> message)
Subclasses must implement this method to create a script source, optionally using the message to locate or create the script. |
Methods inherited from class org.springframework.integration.handler.AbstractScriptExecutingMessageProcessor |
---|
processMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroovyScriptExecutingMessageProcessor(ScriptSource scriptSource)
ScriptSource
.
Method Detail |
---|
protected ScriptSource getScriptSource(Message<?> message)
AbstractScriptExecutingMessageProcessor
getScriptSource
in class AbstractScriptExecutingMessageProcessor<java.lang.Object>
message
- the message being processed
protected java.lang.Object executeScript(ScriptSource scriptSource, Message<?> message) throws java.lang.Exception
AbstractScriptExecutingMessageProcessor
executeScript
in class AbstractScriptExecutingMessageProcessor<java.lang.Object>
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |