com.createtank.elemenope
Interface Broker

All Superinterfaces:
ElemenopeComponent, ElemenopeConnectionEntity
All Known Implementing Classes:
DirectCallBroker, JmsQueueBroker, SynchronousJmsQueueBroker, XmlRpcBroker, XmlRpcElemenopeBroker, XmlRpcElemenopeServletBroker, XmlRpcEnterpriseBroker, XmlRpcServletBroker

public interface Broker
extends ElemenopeComponent, ElemenopeConnectionEntity

interface for all Broker classes.

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

Method Summary
 java.lang.Object receive(OperationType object)
          Receives an Object into the elemenope framework.
 java.lang.Object receive(java.lang.String operationType, java.lang.Object object)
          Receives an Object into the elemenope framework.
 java.lang.Object receive(java.lang.String operationType, java.lang.Object object, java.util.Map atts)
          Receives an Object into the elemenope framework.
 
Methods inherited from interface com.createtank.elemenope.ElemenopeComponent
releaseComponents, setComponents, setConfigurationAttributes
 
Methods inherited from interface com.createtank.elemenope.ElemenopeConnectionEntity
getConnectionAttributes, setConnectionAttributes
 

Method Detail

receive

java.lang.Object receive(OperationType object)
                         throws ElemenopeException
Receives an Object into the elemenope framework. Allows an Object which implements OperationType interface.

Parameters:
object -
Returns:
Object returned by resultant called Operation class
Throws:
ElemenopeException

receive

java.lang.Object receive(java.lang.String operationType,
                         java.lang.Object object)
                         throws ElemenopeException
Receives an Object into the elemenope framework.

Must provide operation type explicitly.

Parameters:
operationType - Configured name of operation type to call
object - Object to pass to Operation class
Returns:
Object returned by resultant called Operation class
Throws:
ElemenopeException

receive

java.lang.Object receive(java.lang.String operationType,
                         java.lang.Object object,
                         java.util.Map atts)
                         throws ElemenopeException
Receives an Object into the elemenope framework.

Must provide operation type explicitly.

Parameters:
operationType - Configured name of operation type to call
object - Object to pass to Operation class
atts - attributes for this message (used for asynch bpm attributes)
Returns:
Object returned by resultant called Operation class
Throws:
ElemenopeException