public class JythonScriptExecutor extends Object implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
JythonScriptExecutor(org.springframework.core.io.Resource resource) |
JythonScriptExecutor(org.springframework.core.io.Resource resource,
org.springframework.integration.scripting.ScriptVariableGenerator variableGenerator) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected void |
bindStaticVariables(Map<String,Object> variables) |
Object |
execute(org.springframework.messaging.Message<?> message) |
Object |
execute(org.springframework.messaging.Message<?> message,
Map<String,Object> additionalVariables) |
String |
getScript() |
public JythonScriptExecutor(org.springframework.core.io.Resource resource)
public JythonScriptExecutor(org.springframework.core.io.Resource resource,
org.springframework.integration.scripting.ScriptVariableGenerator variableGenerator)
public Object execute(org.springframework.messaging.Message<?> message)
public Object execute(org.springframework.messaging.Message<?> message, Map<String,Object> additionalVariables)
message - the message.additionalVariables - additional bind variables.public String getScript()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.