|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.createtank.elemenope.DispatcherFailoverImpl
com.createtank.elemenope.transports.DirectCallDispatcher
public class DirectCallDispatcher
Blocking Call implementation of the elemenope Dispatcher interface
For an example configuration, see direct.xml
| Constructor Summary | |
|---|---|
DirectCallDispatcher()
Creates a new instance of DirectCallDispatcher |
|
| Method Summary | |
|---|---|
java.lang.Object |
dispatchCallback(java.lang.String operationType,
java.lang.Object object)
Implementation specific sending functionality called from generic failover implmentation. |
java.lang.Object |
dispatchCallback(java.lang.String operationType,
java.lang.Object object,
java.util.Map atts)
Implementation specific sending functionality called from generic failover implmentation. |
java.util.Map |
getConnectionAttributes()
gets connectivity attributes |
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 |
| Methods inherited from class com.createtank.elemenope.DispatcherFailoverImpl |
|---|
failover, failover, send, send, send, send, send |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectCallDispatcher()
| Method Detail |
|---|
public void setComponents(ElemenopeComponents components)
ElemenopeComponentShould ususally be called at the end of the initialization cycle, when all components have been instantiated.
public void setConnectionAttributes(java.util.Map atts)
ElemenopeConnectionEntity
atts - Map of connectivity attributes
public java.util.Map getConnectionAttributes()
throws ElemenopeException
ElemenopeConnectionEntity
ElemenopeException
public java.lang.Object dispatchCallback(java.lang.String operationType,
java.lang.Object object)
throws ElemenopeException
FailoverDispatcher
ElemenopeExceptionpublic void releaseComponents()
ElemenopeComponent
public void setConfigurationAttributes(java.util.Map atts)
throws ElemenopeException
ElemenopeComponent
atts - Map of connectivity attributes
ElemenopeException
public java.lang.Object dispatchCallback(java.lang.String operationType,
java.lang.Object object,
java.util.Map atts)
throws ElemenopeException
FailoverDispatcher
ElemenopeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||