org.apache.ws.jaxme.js.junit.xmlrpcclient

Class Dispatcher

public class Dispatcher extends Object

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
interfaceDispatcher.Invoker
The dispatcher is implemented with a java.util.Map.
static classDispatcher.Invoker0
Invoker for method getSum() in class org.apache.ws.jaxme.js.junit.XmlRpcClientTestRemoteClass.
static classDispatcher.Invoker1
Invoker for method getSumAsString() in class org.apache.ws.jaxme.js.junit.XmlRpcClientTestRemoteClass.
static classDispatcher.Invoker2
Invoker for method add(int) in class org.apache.ws.jaxme.js.junit.XmlRpcClientTestRemoteClass.
static classDispatcher.Invoker3
Invoker for method add(int[]) in class org.apache.ws.jaxme.js.junit.XmlRpcClientTestRemoteClass.
static classDispatcher.Invoker4
Invoker for method add(java.lang.String) in class org.apache.ws.jaxme.js.junit.XmlRpcClientTestRemoteClass.
Constructor Summary
Dispatcher()
Creates a new dispatcher.
Method Summary
Objectexecute(String pName, Vector pParams)
Called for invocation of method pName with the parameters given by pParams.
protected Dispatcher.InvokergetInvoker(String pName)

Constructor Detail

Dispatcher

public Dispatcher()
Creates a new dispatcher.

Method Detail

execute

public Object execute(String pName, Vector pParams)
Called for invocation of method pName with the parameters given by pParams.

getInvoker

protected Dispatcher.Invoker getInvoker(String pName)