|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlrpc.server.AbstractReflectiveHandlerMapping
org.apache.xmlrpc.server.DynamicHandlerMapping
public class DynamicHandlerMapping
A handler mapping, which requires explicit registration of handlers.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping |
---|
AbstractReflectiveHandlerMapping.AuthenticationHandler, AbstractReflectiveHandlerMapping.InitializationHandler |
Field Summary |
---|
Fields inherited from class org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping |
---|
handlerMap |
Constructor Summary | |
---|---|
DynamicHandlerMapping(TypeConverterFactory pTypeConverterFactory,
boolean pInstanceIsStateless)
Creates a new instance. |
Method Summary | |
---|---|
void |
addHandler(java.lang.String pKey,
java.lang.Class pClass)
Adds handlers for the given object to the mapping. |
void |
removeHandler(java.lang.String pKey)
Removes all handlers with the given class key. |
Methods inherited from class org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping |
---|
getAuthenticationHandler, getHandler, getInitializationHandler, getListMethods, getMethodHelp, getMethodHelp, getMethodSignature, getSignature, newXmlRpcHandler, registerPublicMethods, setAuthenticationHandler, setInitializationHandler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicHandlerMapping(TypeConverterFactory pTypeConverterFactory, boolean pInstanceIsStateless)
pInstanceIsStateless
- The handler
can operate in either of two operation modes:
Method Detail |
---|
public void addHandler(java.lang.String pKey, java.lang.Class pClass) throws XmlRpcException
AbstractReflectiveHandlerMapping.registerPublicMethods(java.util.Map, String, Class)
.
pKey
- The class key, which is passed
to AbstractReflectiveHandlerMapping.registerPublicMethods(java.util.Map, String, Class)
.pClass
- Class, which is responsible for handling the request.
XmlRpcException
public void removeHandler(java.lang.String pKey)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |