|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.createtank.elemenope.transports.XmlRpcEnterpriseConnector
public class XmlRpcEnterpriseConnector
Enterprise XML-RPC implementation of the elemenope Connector interface.
Implements multithreaded listeners via embedded Jetty HTTP Server for enterprise level XML-RPC brokering (receipt) capability.
This Connector implementation is compatible with the XmlRpcEnterpriseBroker Broker implementation.
This Connector implementation must be configured with the following attributes:
For an example configuration, see the elemenope userguide
| Constructor Summary | |
|---|---|
XmlRpcEnterpriseConnector()
|
|
| 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 |
registerBroker(XmlRpcEnterpriseBroker broker,
java.lang.String webServiceName)
Register an XmlRpcEnterpriseBroker with the Connector (Jetty Handler) |
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 XmlRpcEnterpriseConnector()
| 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 ElemenopeComponent
public void setConnectionAttributes(java.util.Map atts)
throws ElemenopeException
ElemenopeConnectionEntity
setConnectionAttributes in interface ElemenopeConnectionEntityatts - Map of connectivity attributes
ElemenopeException
public void connect()
throws ElemenopeConnectionException
Connector
connect in interface ConnectorElemenopeConnectionException
public void start()
throws ElemenopeConnectionException
Connector
start in interface ConnectorElemenopeConnectionException
public void disconnect()
throws ElemenopeConnectionException
Connector
disconnect in interface ConnectorElemenopeConnectionExceptionpublic void stop()
Connector
stop in interface Connector
public java.util.Map getConnectionAttributes()
throws ElemenopeException
ElemenopeConnectionEntity
getConnectionAttributes in interface ElemenopeConnectionEntityElemenopeException
public java.lang.Object getConnection()
throws ElemenopeException
ConnectorUsed by some implementations to pass connection for use by Broker or Dispatcher.
getConnection in interface ConnectorElemenopeExceptionpublic 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
public void registerBroker(XmlRpcEnterpriseBroker broker,
java.lang.String webServiceName)
Register an XmlRpcEnterpriseBroker with the Connector (Jetty Handler)
This method is called by the XML-RPC Enterprise Broker implementation from each Broker configured.
broker - XmlRpcEnterpriseBroker instance to registerwebServiceName - XML-RPC web service name under which the Broker should be registered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||