|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.createtank.elemenope.transports.XmlRpcServletBroker
public class XmlRpcServletBroker
This is a Servlet class to provide generic XML-RPC -> elemenope functionality from within an application server.
It must be passed the following parameters:
| Constructor Summary | |
|---|---|
XmlRpcServletBroker()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(java.lang.String method,
java.util.Vector params)
|
java.util.Map |
getConnectionAttributes()
gets connectivity attributes |
void |
init(javax.servlet.ServletConfig config)
|
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 javax.servlet.http.HttpServlet |
|---|
service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlRpcServletBroker()
| 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 init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletException
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.Exception
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 | |||||||||