|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.createtank.elemenope.transports.DirectCallBroker
public class DirectCallBroker
Blocking Call implementation of elemenope Broker interface
For an example configuration, see direct.xml
| Constructor Summary | |
|---|---|
DirectCallBroker()
Creates a new instance of DirectCallBroker |
|
| Method Summary | |
|---|---|
java.util.Map |
getConnectionAttributes()
gets connectivity attributes |
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. |
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 |
void |
setConnectionAttributes(java.util.Map atts)
sets connectivity attributes |
void |
setOperationGroup(java.util.Map operationGroup)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectCallBroker()
| Method Detail |
|---|
public void setComponents(ElemenopeComponents components)
ElemenopeComponentShould ususally be called at the end of the initialization cycle, when all components have been instantiated.
setComponents in interface ElemenopeComponentpublic void releaseComponents()
ElemenopeComponent
releaseComponents in interface ElemenopeComponent
public java.lang.Object receive(OperationType object)
throws ElemenopeException
Broker
receive in interface BrokerElemenopeException
public java.lang.Object receive(java.lang.String operationType,
java.lang.Object object)
throws ElemenopeException
BrokerMust provide operation type explicitly.
receive in interface BrokeroperationType - Configured name of operation type to callobject - Object to pass to Operation class
ElemenopeException
public java.lang.Object receive(java.lang.String operationType,
java.lang.Object object,
java.util.Map atts)
throws ElemenopeException
BrokerMust provide operation type explicitly.
receive in interface BrokeroperationType - Configured name of operation type to callobject - Object to pass to Operation classatts - attributes for this message (used for asynch bpm attributes)
ElemenopeException
public void setConnectionAttributes(java.util.Map atts)
throws ElemenopeException
ElemenopeConnectionEntity
setConnectionAttributes in interface ElemenopeConnectionEntityatts - Map of connectivity attributes
ElemenopeException
public java.util.Map getConnectionAttributes()
throws ElemenopeException
ElemenopeConnectionEntity
getConnectionAttributes in interface ElemenopeConnectionEntityElemenopeException
public void setOperationGroup(java.util.Map operationGroup)
throws ElemenopeException
operationGroup -
ElemenopeException
public void setConfigurationAttributes(java.util.Map atts)
throws ElemenopeException
ElemenopeComponent
setConfigurationAttributes in interface ElemenopeComponentatts - Map of connectivity attributes
ElemenopeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||