|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.createtank.elemenope.transports.XmlRpcEnterpriseBroker
public class XmlRpcEnterpriseBroker
Enterprise XML-RPC implementation of the elemenope Broker interface.
This class provides XML-RPC service brokering functionality to elemenope with an embedded Jetty instance.
This Broker implementation must be configured with the following attributes:
http://hostname:port/serviceName/webServiceName.operationName
http://hostname:port/serviceName/serviceName.operationName
http://localhost:9000/externalInterface/serviceA.operationX http://localhost:9000/externalInterface/serviceB.operationY http://localhost:9000/externalInterface/serviceC.operationZ
For an example configuration, see the elemenope userguide
| Constructor Summary | |
|---|---|
XmlRpcEnterpriseBroker()
|
|
| Method Summary | |
|---|---|
void |
connect(Connector connector)
Connects to the server and adds handler for both Jetty and XML-RPC. |
java.lang.Object |
execute(java.lang.String method,
java.util.Vector params)
Apache XML-RPC handler implementation. |
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlRpcEnterpriseBroker()
| Method Detail |
|---|
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 java.lang.Object receive(OperationType object)
throws ElemenopeException
Broker
receive in interface BrokerElemenopeExceptionpublic void releaseComponents()
ElemenopeComponent
releaseComponents in interface ElemenopeComponentpublic 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 java.util.Map getConnectionAttributes()
throws ElemenopeException
ElemenopeConnectionEntity
getConnectionAttributes in interface ElemenopeConnectionEntityElemenopeException
public void setConnectionAttributes(java.util.Map atts)
throws ElemenopeException
ElemenopeConnectionEntity
setConnectionAttributes in interface ElemenopeConnectionEntityatts - Map of connectivity attributes
ElemenopeException
public void setConfigurationAttributes(java.util.Map atts)
throws ElemenopeException
ElemenopeComponent
setConfigurationAttributes in interface ElemenopeComponentatts - Map of connectivity attributes
ElemenopeException
public void connect(Connector connector)
throws ElemenopeConnectionException
connector -
ElemenopeConnectionException
public java.lang.Object execute(java.lang.String method,
java.util.Vector params)
throws java.lang.Exception
execute in interface org.apache.xmlrpc.XmlRpcHandlerjava.lang.ExceptionXmlRpcHandler.execute(java.lang.String, java.util.Vector)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||