|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ws.jaxme.js.junit.xmlrpcclient.Dispatcher
public class Dispatcher
The dispatcher is being used by the XmlRpcServer. It delegates incoming XML-RPC calls to the classes and methods, for which client classes have been created by the org.apache.ws.jaxme.js.apps.XmlRpcClientGenerator.
| Nested Class Summary | |
|---|---|
static interface |
Dispatcher.Invoker
The dispatcher is implemented with a Map. |
static class |
Dispatcher.Invoker0
Invoker for method add(int) in class org.apache.ws.jaxme.js.junit.XmlRpcClientTestRemoteClass. |
static class |
Dispatcher.Invoker1
Invoker for method add(java.lang.String) in class org.apache.ws.jaxme.js.junit.XmlRpcClientTestRemoteClass. |
static class |
Dispatcher.Invoker2
Invoker for method getSumAsString() in class org.apache.ws.jaxme.js.junit.XmlRpcClientTestRemoteClass. |
static class |
Dispatcher.Invoker3
Invoker for method add(int[]) in class org.apache.ws.jaxme.js.junit.XmlRpcClientTestRemoteClass. |
static class |
Dispatcher.Invoker4
Invoker for method getSum() in class org.apache.ws.jaxme.js.junit.XmlRpcClientTestRemoteClass. |
| Constructor Summary | |
|---|---|
Dispatcher()
Creates a new dispatcher. |
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(java.lang.String pName,
java.util.Vector pParams)
Called for invocation of method pName with
the parameters given by pParams. |
protected Dispatcher.Invoker |
getInvoker(java.lang.String pName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dispatcher()
| Method Detail |
|---|
protected Dispatcher.Invoker getInvoker(java.lang.String pName)
public java.lang.Object execute(java.lang.String pName,
java.util.Vector pParams)
throws java.lang.Exception
pName with
the parameters given by pParams.
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||