org.apache.xmlrpc.server
public class PropertyHandlerMapping extends AbstractReflectiveHandlerMapping
Method Summary | |
---|---|
void | addHandler(String pKey, Class pClass) Adds handlers for the given object to the mapping.
|
void | load(ClassLoader pClassLoader, String pResource)
Reads handler definitions from a resource file. |
void | load(ClassLoader pClassLoader, URL pURL)
Reads handler definitions from a property file. |
protected Class | newHandlerClass(ClassLoader pClassLoader, String pClassName) |
void | removeHandler(String pKey) Removes all handlers with the given class key. |
Parameters: pKey The class key, which is passed to {@link #registerPublicMethods(String, Class)}. pClass Class, which is responsible for handling the request.
Parameters: pResource The resource being used, for example "org/apache/xmlrpc/webserver/XmlRpcServlet.properties"
Throws: IOException Loading the property file failed. XmlRpcException Initializing the handlers failed.
UNKNOWN: pClassLoader The class loader being used to load handler classes.
Parameters: pURL The URL from which to load the property file
Throws: IOException Loading the property file failed. XmlRpcException Initializing the handlers failed.
UNKNOWN: pClassLoader The class loader being used to load handler classes.