| com.bostechcorp.cbesb.runtime.ccsl.lib.IScriptObject
All known Subclasses: com.bostechcorp.cbesb.custom.BounceBack, com.bostechcorp.cbesb.custom.EchoToLog, com.bostechcorp.cbesb.custom.WrapWithSoapRequest, com.bostechcorp.cbesb.custom.RequestProcessor,
IScriptObject | public interface IScriptObject (Code) | | Classes for Script Components must implement this interface
|
Method Summary | |
public void | run(Log logger, String rootDir, ComponentContext componentContext, DeliveryChannel channel, MessageExchange exchange, Map<String, String> params) The run method is called when an exchange is sent to the endpoint. | public void | start(Log logger, String rootDir, ComponentContext componentContext, DeliveryChannel channel, Map<String, String> params) Start mode can be used for initialization. | public void | stop(Log logger, String rootDir, ComponentContext componentContext, DeliveryChannel channel, Map<String, String> params) | public LinkedList | time(Log logger, String rootDir, ComponentContext componentContext, DeliveryChannel channel, MessageExchange exchange, Map<String, String> params) The time method is called for a timed mode consumer endpoint. |
run | public void run(Log logger, String rootDir, ComponentContext componentContext, DeliveryChannel channel, MessageExchange exchange, Map<String, String> params) throws Exception(Code) | | The run method is called when an exchange is sent to the endpoint.
Parameters: logger - - the loggger object Parameters: rootDir - - the root direcory of the SU Parameters: componentContext - - the componentContext object Parameters: channel - - the delivery channel object Parameters: exchange - - the MessageExchange object passed in Parameters: params - - the user paramaters in name/value pair throws: Exception - |
start | public void start(Log logger, String rootDir, ComponentContext componentContext, DeliveryChannel channel, Map<String, String> params) throws Exception(Code) | | Start mode can be used for initialization. Consumer endpoints
that do not use timed mode should set up a thread to generate
exchanges in start mode.
Parameters: logger - - the loggger object Parameters: rootDir - - the root direcory of the SU Parameters: componentContext - - the componentContext object Parameters: channel - - the delivery channel object Parameters: exchange - - the MessageExchange object passed in Parameters: params - - the user paramaters in name/value pair throws: Exception - |
stop | public void stop(Log logger, String rootDir, ComponentContext componentContext, DeliveryChannel channel, Map<String, String> params) throws Exception(Code) | | The stop method should clean up resources
Parameters: logger - - the loggger object Parameters: rootDir - - the root direcory of the SU Parameters: componentContext - - the componentContext object Parameters: channel - - the delivery channel object Parameters: params - - the user paramaters in name/value pair throws: Exception - |
time | public LinkedList time(Log logger, String rootDir, ComponentContext componentContext, DeliveryChannel channel, MessageExchange exchange, Map<String, String> params) throws Exception(Code) | | The time method is called for a timed mode consumer endpoint.
It returns a linked list of exchanges to be sent from the
endpoint.
Parameters: logger - - the loggger object Parameters: rootDir - - the root direcory of the SU Parameters: componentContext - - the componentContext object Parameters: channel - - the delivery channel object Parameters: exchange - - the MessageExchange object passed in Parameters: params - - the user paramaters in name/value pair - the LinkList containning one of many MessageExchange objects throws: Exception - |
|
|