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 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 RequestProcessorFactoryFactory. |
| protected String[][] | getSignature(Method[] pMethods) Creates a signature for the given method. |
| TypeConverterFactory | getTypeConverterFactory()
Returns the mappings TypeConverterFactory. |
| protected XmlRpcHandler | newXmlRpcHandler(Class pClass, Method[] pMethods) Creates a new instance of 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 RequestProcessorFactoryFactory. |
| void | setTypeConverterFactory(TypeConverterFactory pFactory)
Sets the mappings 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.