com.createtank.elemenope
Interface ElemenopeComponent

All Known Subinterfaces:
Broker, Connector, Dispatcher, ElemenopeBpmOperation, FailoverDispatcher, Operation
All Known Implementing Classes:
DirectCallBroker, DirectCallConnector, DirectCallDispatcher, DispatcherFailoverImpl, DistributionListDispatcher, ElemenopeAsyncBpmChainOperation, ElemenopeBpmChainOperation, ElemenopeBpmListOperation, ElemenopeBpmOperationImpl, ElemenopeProcessChainOperation, ElemenopeProcessListOperation, IngestFilesystemOperation, JmsQueueBroker, JmsQueueConnector, JmsQueueDispatcher, SoapClientConnector, SoapDispatcher, SoapMethodDispatcher, SynchronousJmsQueueBroker, SynchronousJmsQueueConnector, SynchronousJmsQueueDispatcher, XmlRpcBroker, XmlRpcClientConnector, XmlRpcDispatcher, XmlRpcElemenopeBroker, XmlRpcElemenopeDispatcher, XmlRpcElemenopeServletBroker, XmlRpcEnterpriseBroker, XmlRpcEnterpriseConnector, XmlRpcServerConnector, XmlRpcServletBroker

public interface ElemenopeComponent

interface for all elemenope Component classes.

Any class implementing this interface (even within the user defined object lists) will receive the list of all elemenope system components upon completion of configuration via the setComponents() method.

All elemenope base interfaces implement this class (specifically, Connector, Broker, and Dispatcher).

Author:
John Joseph Roets [joe@createtank.com]

Method Summary
 void releaseComponents()
          Should be called upon shutdown, in order for elemenope component classes clean up after themselves.
 void setComponents(ElemenopeComponents components)
          Passes all configured components to implementing Object.
 void setConfigurationAttributes(java.util.Map atts)
          sets configuration attributes
 

Method Detail

setConfigurationAttributes

void setConfigurationAttributes(java.util.Map atts)
                                throws ElemenopeException
sets configuration attributes

Parameters:
atts - Map of connectivity attributes
Throws:
ElemenopeException

setComponents

void setComponents(ElemenopeComponents components)
Passes all configured components to implementing Object.

Should ususally be called at the end of the initialization cycle, when all components have been instantiated.

Parameters:
components -

releaseComponents

void releaseComponents()
Should be called upon shutdown, in order for elemenope component classes clean up after themselves.