/** Adds handlers for the given object to the mapping. * The handlers are build by invoking * {@link #registerPublicMethods(String, Class)}. * @param pKey The class key, which is passed * to {@link #registerPublicMethods(String, Class)}. * @param pClass Class, which is responsible for handling the request. */ public void addHandler(String pKey, Class pClass) throws XmlRpcException { registerPublicMethods(pKey, pClass); }
/** Adds handlers for the given object to the mapping. * The handlers are build by invoking * {@link #registerPublicMethods(String, Class)}. * @param pKey The class key, which is passed * to {@link #registerPublicMethods(String, Class)}. * @param pClass Class, which is responsible for handling the request. */ public void addHandler(String pKey, Class pClass) throws XmlRpcException { registerPublicMethods(pKey, pClass); }
/** Adds handlers for the given object to the mapping. * The handlers are build by invoking * {@link #registerPublicMethods(String, Class)}. * @param pKey The class key, which is passed * to {@link #registerPublicMethods(String, Class)}. * @param pClass Class, which is responsible for handling the request. */ public void addHandler(String pKey, Class pClass) throws XmlRpcException { registerPublicMethods(pKey, pClass); }
/** * Reads handler definitions from an existing Map. * @param pClassLoader The class loader being used to load * handler classes. * @param pMap The existing Map to read from * @throws XmlRpcException Initializing the handlers failed. */ public void load(ClassLoader pClassLoader, Map pMap) throws XmlRpcException { for (Iterator iter = pMap.entrySet().iterator(); iter.hasNext(); ) { Map.Entry entry = (Map.Entry) iter.next(); String key = (String) entry.getKey(); String value = (String) entry.getValue(); Class c = newHandlerClass(pClassLoader, value); registerPublicMethods(key, c); } }
/** * Reads handler definitions from an existing Map. * @param pClassLoader The class loader being used to load * handler classes. * @param pMap The existing Map to read from * @throws XmlRpcException Initializing the handlers failed. */ public void load(ClassLoader pClassLoader, Map pMap) throws XmlRpcException { for (Iterator iter = pMap.entrySet().iterator(); iter.hasNext(); ) { Map.Entry entry = (Map.Entry) iter.next(); String key = (String) entry.getKey(); String value = (String) entry.getValue(); Class c = newHandlerClass(pClassLoader, value); registerPublicMethods(key, c); } }
/** * Reads handler definitions from an existing Map. * @param pClassLoader The class loader being used to load * handler classes. * @param pMap The existing Map to read from * @throws XmlRpcException Initializing the handlers failed. */ public void load(ClassLoader pClassLoader, Map pMap) throws XmlRpcException { for (Iterator iter = pMap.entrySet().iterator(); iter.hasNext(); ) { Map.Entry entry = (Map.Entry) iter.next(); String key = (String) entry.getKey(); String value = (String) entry.getValue(); Class c = newHandlerClass(pClassLoader, value); registerPublicMethods(key, c); } }
throws XmlRpcException super.registerPublicMethods(pKey, pType);