Classes | |
class | MethodData |
Public Member Functions | |
Object | execute (XmlRpcRequest pRequest) throws XmlRpcException |
ReflectiveXmlRpcHandler (AbstractReflectiveHandlerMapping pMapping, TypeConverterFactory pTypeConverterFactory, Class pClass, RequestProcessorFactory pFactory, Method[] pMethods) | |
Private Member Functions | |
Object | getInstance (XmlRpcRequest pRequest) throws XmlRpcException |
Object | invoke (Object pInstance, Method pMethod, Object[] pArgs) throws XmlRpcException |
Private Attributes | |
final Class | clazz |
final AbstractReflectiveHandlerMapping | mapping |
final MethodData[] | methods |
final RequestProcessorFactory | requestProcessorFactory |
Default implementation of XmlRpcHandler.
Definition at line 38 of file ReflectiveXmlRpcHandler.java.
org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.ReflectiveXmlRpcHandler | ( | AbstractReflectiveHandlerMapping | pMapping, |
TypeConverterFactory | pTypeConverterFactory, | ||
Class | pClass, | ||
RequestProcessorFactory | pFactory, | ||
Method[] | pMethods | ||
) | [inline] |
Creates a new instance.
pMapping | The mapping, which creates this handler. |
pClass | The class, which has been inspected to create this handler. Typically, this will be the same as pInstance.getClass(). It is used for diagnostic messages only. |
pMethods | The method, which will be invoked for executing the handler. |
Definition at line 65 of file ReflectiveXmlRpcHandler.java.
Object org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute | ( | XmlRpcRequest | pRequest | ) | throws XmlRpcException [inline] |
Performs the request and returns the result object.
pRequest | The request being performed (method name and parameters.) |
XmlRpcException | Performing the request failed. |
Implements org.apache.xmlrpc.XmlRpcHandler.
Definition at line 81 of file ReflectiveXmlRpcHandler.java.
Object org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.getInstance | ( | XmlRpcRequest | pRequest | ) | throws XmlRpcException [inline, private] |
Definition at line 77 of file ReflectiveXmlRpcHandler.java.
Object org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke | ( | Object | pInstance, |
Method | pMethod, | ||
Object[] | pArgs | ||
) | throws XmlRpcException [inline, private] |
Definition at line 113 of file ReflectiveXmlRpcHandler.java.
final Class org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.clazz [private] |
Definition at line 53 of file ReflectiveXmlRpcHandler.java.
final AbstractReflectiveHandlerMapping org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.mapping [private] |
Definition at line 51 of file ReflectiveXmlRpcHandler.java.
final MethodData [] org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.methods [private] |
Definition at line 52 of file ReflectiveXmlRpcHandler.java.
final RequestProcessorFactory org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.requestProcessorFactory [private] |
Definition at line 54 of file ReflectiveXmlRpcHandler.java.