|
Spring Integration | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.scripting.AbstractScriptExecutingMessageProcessor<java.lang.Object>
org.springframework.integration.groovy.GroovyScriptExecutingMessageProcessor
public class GroovyScriptExecutingMessageProcessor
| Constructor Summary | |
|---|---|
GroovyScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource)
Create a processor for the given ScriptSource that will use a
DefaultScriptVariableGenerator. |
|
GroovyScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource,
ScriptVariableGenerator scriptVariableGenerator)
Create a processor for the given ScriptSource that will use the provided
ScriptVariableGenerator. |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
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. |
void |
setCustomizer(org.springframework.scripting.groovy.GroovyObjectCustomizer customizer)
Sets a GroovyObjectCustomizer for this processor. |
| Methods inherited from class org.springframework.integration.scripting.AbstractScriptExecutingMessageProcessor |
|---|
getBeanClassLoader, getBeanFactory, processMessage, setBeanClassLoader, setBeanFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroovyScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource)
ScriptSource that will use a
DefaultScriptVariableGenerator.
public GroovyScriptExecutingMessageProcessor(org.springframework.scripting.ScriptSource scriptSource,
ScriptVariableGenerator scriptVariableGenerator)
ScriptSource that will use the provided
ScriptVariableGenerator.
| Method Detail |
|---|
public void setCustomizer(org.springframework.scripting.groovy.GroovyObjectCustomizer customizer)
GroovyObjectCustomizer for this processor.
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
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception
|
Spring Integration | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||