|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.scripting.AbstractScriptExecutingMessageProcessor<java.lang.Object> org.springframework.integration.scripting.jsr223.ScriptExecutingMessageProcessor
public class ScriptExecutingMessageProcessor
Constructor Summary | |
---|---|
ScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource,
ScriptExecutor scriptExecutor)
Create a processor for the ScriptSource using the provided ScriptExecutor using the DefaultScriptVariableGenerator |
|
ScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource,
ScriptExecutor scriptExecutor,
java.util.Map<java.lang.String,java.lang.Object> variables)
Create a processor for the ScriptSource using the provided ScriptExecutor using the DefaultScriptVariableGenerator |
|
ScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource,
ScriptVariableGenerator scriptVariableGenerator,
ScriptExecutor scriptExecutor)
Create a processor for the ScriptSource using the provided ScriptExecutor |
Method Summary | |
---|---|
protected java.lang.Object |
executeScript(org.springframework.scripting.ScriptSource scriptSource,
java.util.Map<java.lang.String,java.lang.Object> variables)
Subclasses must implement this method. |
protected org.springframework.scripting.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.scripting.AbstractScriptExecutingMessageProcessor |
---|
processMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource, ScriptExecutor scriptExecutor)
ScriptSource
using the provided ScriptExecutor
using the DefaultScriptVariableGenerator
scriptSource
- scriptExecutor
- public ScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource, ScriptVariableGenerator scriptVariableGenerator, ScriptExecutor scriptExecutor)
ScriptSource
using the provided ScriptExecutor
scriptSource
- scriptExecutor
- public ScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource, ScriptExecutor scriptExecutor, java.util.Map<java.lang.String,java.lang.Object> variables)
ScriptSource
using the provided ScriptExecutor
using the DefaultScriptVariableGenerator
scriptSource
- scriptExecutor
- variables
- Method Detail |
---|
protected org.springframework.scripting.ScriptSource getScriptSource(Message<?> message)
AbstractScriptExecutingMessageProcessor
getScriptSource
in class AbstractScriptExecutingMessageProcessor<java.lang.Object>
message
- the message being processed
protected java.lang.Object executeScript(org.springframework.scripting.ScriptSource scriptSource, java.util.Map<java.lang.String,java.lang.Object> variables) throws java.lang.Exception
AbstractScriptExecutingMessageProcessor
executeScript
in class AbstractScriptExecutingMessageProcessor<java.lang.Object>
java.lang.Exception
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |