|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.createtank.elemenope.transports.XmlRpcServerConnector
public class XmlRpcServerConnector
XML-RPC implementation of the elemenope Connector interface.
For use in creating an XML-RPC service.
For an example configuration, see xmlrpc.xml
| Constructor Summary | |
|---|---|
XmlRpcServerConnector()
Creates a new instance of XmlRpcConnector |
|
| Method Summary | |
|---|---|
void |
connect()
makes initial connection to entity |
void |
disconnect()
closes connection to entity |
java.lang.Object |
getConnection()
Get connection implementation specific object. |
java.util.Map |
getConnectionAttributes()
gets connectivity attributes |
boolean |
isActive()
May be used by DispatcherFailover [DFO] implementations to ascertain whether a connection is currently viable. |
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 |
start()
starts the connection to entity |
void |
stop()
stops the connection to entity |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlRpcServerConnector()
| Method Detail |
|---|
public void connect()
throws ElemenopeConnectionException
Connector
connect in interface ConnectorElemenopeConnectionException
public void disconnect()
throws ElemenopeConnectionException
Connector
disconnect in interface ConnectorElemenopeConnectionException
public java.lang.Object getConnection()
throws ElemenopeException
ConnectorUsed by some implementations to pass connection for use by Broker or Dispatcher.
getConnection in interface ConnectorElemenopeException
public java.util.Map getConnectionAttributes()
throws ElemenopeException
ElemenopeConnectionEntity
getConnectionAttributes in interface ElemenopeConnectionEntityElemenopeExceptionpublic 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 setConnectionAttributes(java.util.Map atts)
throws ElemenopeException
ElemenopeConnectionEntity
setConnectionAttributes in interface ElemenopeConnectionEntityatts - Map of connectivity attributes
ElemenopeException
public void start()
throws ElemenopeConnectionException
Connector
start in interface ConnectorElemenopeConnectionException
public void stop()
throws ElemenopeConnectionException
Connector
stop in interface ConnectorElemenopeConnectionExceptionpublic boolean isActive()
Connector
isActive in interface Connectorpublic 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 | |||||||||