|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.createtank.elemenope.transports.DistributionListDispatcher
public class DistributionListDispatcher
Generic distribution list implementation of the elemenope Dispatcher interface.
Sends through all Dispatchers in the configured list.
| Constructor Summary | |
|---|---|
DistributionListDispatcher()
Creates a new instance |
|
| Method Summary | |
|---|---|
void |
connect()
not implemented |
java.util.Map |
getConnectionAttributes()
gets connectivity attributes |
void |
releaseComponents()
Should be called upon shutdown, in order for elemenope component classes clean up after themselves. |
ElemenopeDispatchResponse |
send(ElemenopeDispatchResponse edr,
java.lang.String operationType,
java.lang.Object object)
|
ElemenopeDispatchResponse |
send(OperationType object)
Sends TrnasactionType Object through configured Connection entity. |
ElemenopeDispatchResponse |
send(java.lang.String operationType,
java.lang.Object object)
Sends generic Object through configured Connection entity. |
ElemenopeDispatchResponse |
send(java.lang.String operationType,
java.lang.Object object,
java.util.Map atts)
Sends generic Object through configured Connection entity. |
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 |
startConnection()
Builds list of Dispatchers to use for all calls to send. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DistributionListDispatcher()
| Method Detail |
|---|
public ElemenopeDispatchResponse send(OperationType object)
throws ElemenopeException
Dispatcher
send in interface DispatcherElemenopeException
public ElemenopeDispatchResponse send(java.lang.String operationType,
java.lang.Object object,
java.util.Map atts)
throws ElemenopeException
Dispatcher
send in interface DispatcheroperationType - configured name of operation to execute.object - Object to send.atts - attributes to send along with message if applicable.
ElemenopeException
public ElemenopeDispatchResponse send(java.lang.String operationType,
java.lang.Object object)
throws ElemenopeException
Dispatcher
send in interface DispatcheroperationType - configured name of operation to execute.object - Object to send.
ElemenopeException
public void setConnectionAttributes(java.util.Map atts)
throws ElemenopeException
ElemenopeConnectionEntity
setConnectionAttributes in interface ElemenopeConnectionEntityatts - Map of connectivity attributes
ElemenopeException
public void connect()
throws java.lang.Exception
java.lang.Exception - Exception thrown when problems occur connecting.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 ElemenopeComponent
public void startConnection()
throws ElemenopeConnectionException
send.
ElemenopeConnectionException
public java.util.Map getConnectionAttributes()
throws ElemenopeException
ElemenopeConnectionEntity
getConnectionAttributes in interface ElemenopeConnectionEntityElemenopeException
public ElemenopeDispatchResponse send(ElemenopeDispatchResponse edr,
java.lang.String operationType,
java.lang.Object object)
throws ElemenopeException
ElemenopeExceptionpublic void releaseComponents()
ElemenopeComponent
releaseComponents in interface ElemenopeComponent
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 | |||||||||