|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.servicemix.scripting.DefaultScriptingMarshaler
public class DefaultScriptingMarshaler
| Constructor Summary | |
|---|---|
DefaultScriptingMarshaler()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultScriptingMarshaler()
| Method Detail |
|---|
public void onStartup(ScriptingEndpoint endpoint)
throws java.lang.Exception
ScriptingMarshalerSupport
onStartup in interface ScriptingMarshalerSupportendpoint - the endpoint
java.lang.Exception - on any exception
public void onShutdown(ScriptingEndpoint endpoint)
throws java.lang.Exception
ScriptingMarshalerSupport
onShutdown in interface ScriptingMarshalerSupportendpoint - the endpoint
java.lang.Exception - on any exception
public void registerUserBeans(ScriptingEndpoint endpoint,
javax.jbi.messaging.MessageExchange exchange,
javax.script.Bindings bindings)
ScriptingMarshalerSupport
registerUserBeans in interface ScriptingMarshalerSupportendpoint - the endpointexchange - the exchangebindings - the bindings
public java.io.InputStream getScriptCode(ScriptingEndpoint endpoint,
javax.jbi.messaging.MessageExchange exchange)
throws java.io.IOException
ScriptingMarshalerSupport
getScriptCode in interface ScriptingMarshalerSupportendpoint - the endpointexchange - the message exchange
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||