org.apache.xmlrpc.server
public abstract class AbstractReflectiveHandlerMapping extends Object implements XmlRpcListableHandlerMapping
Nested Class Summary | |
---|---|
interface | AbstractReflectiveHandlerMapping.AuthenticationHandler An object implementing this interface may be used
to validate user names and passwords. |
Field Summary | |
---|---|
protected Map | handlerMap |
Method Summary | |
---|---|
AbstractReflectiveHandlerMapping.AuthenticationHandler | getAuthenticationHandler() Returns the authentication handler, if any, or null. |
XmlRpcHandler | getHandler(String pHandlerName) Returns the {@link XmlRpcHandler} with the given name. |
String[] | getListMethods() |
protected String | getMethodHelp(Class pClass, Method[] pMethods) Creates a help string for the given method, when applied
to the given class. |
String | getMethodHelp(String pHandlerName) |
String[][] | getMethodSignature(String pHandlerName) |
RequestProcessorFactoryFactory | getRequestProcessorFactoryFactory() Returns the mappings {@link RequestProcessorFactoryFactory}. |
protected String[][] | getSignature(Method[] pMethods) Creates a signature for the given method. |
TypeConverterFactory | getTypeConverterFactory()
Returns the mappings {@link TypeConverterFactory}. |
protected XmlRpcHandler | newXmlRpcHandler(Class pClass, Method[] pMethods) Creates a new instance of {@link XmlRpcHandler}. |
protected void | registerPublicMethods(String pKey, Class pType) Searches for methods in the given class. |
void | setAuthenticationHandler(AbstractReflectiveHandlerMapping.AuthenticationHandler pAuthenticationHandler) Sets the authentication handler, if any, or null. |
void | setRequestProcessorFactoryFactory(RequestProcessorFactoryFactory pFactory) Sets the mappings {@link RequestProcessorFactoryFactory}. |
void | setTypeConverterFactory(TypeConverterFactory pFactory)
Sets the mappings {@link TypeConverterFactory}. |
Parameters: pHandlerName The handlers name
Throws: XmlRpcNoSuchHandlerException A handler with the given name is unknown.
Parameters: pClass The class, which was inspected for handler
methods. This is used for error messages only. Typically,
it is the same than pInstance.getClass()
. pMethods The method being invoked.
Parameters: pKey Suffix for building handler names. A dot and the method name are being added. pType The class being inspected.