|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.handler.AbstractScriptExecutingMessageProcessor<T>
public abstract class AbstractScriptExecutingMessageProcessor<T>
Base MessageProcessor
for scripting implementations to extend.
Constructor Summary | |
---|---|
AbstractScriptExecutingMessageProcessor(ScriptSource scriptSource)
Create a processor for the given ScriptSource . |
Method Summary | |
---|---|
protected abstract T |
executeScript(ScriptSource scriptSource,
Message<?> message)
Subclasses must implement this method. |
T |
processMessage(Message<?> message)
Executes the script and returns the result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractScriptExecutingMessageProcessor(ScriptSource scriptSource)
ScriptSource
.
Method Detail |
---|
public final T processMessage(Message<?> message)
processMessage
in interface MessageProcessor<T>
protected abstract T executeScript(ScriptSource scriptSource, Message<?> message) throws Exception
Exception
|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |