public interface ScriptingMarshalerSupport
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getScriptCode(ScriptingEndpoint endpoint,
javax.jbi.messaging.MessageExchange exchange)
returns the code of the script as input stream
|
void |
onShutdown(ScriptingEndpoint endpoint)
hook method to allow a custom marshaler to do things on endpoint shutdown
|
void |
onStartup(ScriptingEndpoint endpoint)
hook method to allow a custom marshaler to do things on endpoint startup
|
void |
registerUserBeans(ScriptingEndpoint endpoint,
javax.jbi.messaging.MessageExchange exchange,
javax.script.Bindings bindings)
hook method for filling user beans into the available variables from
script
|
void onStartup(ScriptingEndpoint endpoint) throws java.lang.Exception
endpoint - the endpointjava.lang.Exception - on any exceptionvoid onShutdown(ScriptingEndpoint endpoint) throws java.lang.Exception
endpoint - the endpointjava.lang.Exception - on any exceptionjava.io.InputStream getScriptCode(ScriptingEndpoint endpoint, javax.jbi.messaging.MessageExchange exchange) throws java.io.IOException
endpoint - the endpointexchange - the message exchangejava.io.IOExceptionvoid registerUserBeans(ScriptingEndpoint endpoint, javax.jbi.messaging.MessageExchange exchange, javax.script.Bindings bindings)
endpoint - the endpointexchange - the exchangebindings - the bindingsCopyright © 2005-2014 FuseSource. All Rights Reserved.