public class ReflectiveXmlRpcMetaDataHandler extends ReflectiveXmlRpcHandler implements XmlRpcMetaDataHandler
XmlRpcMetaDataHandler
.Constructor and Description |
---|
ReflectiveXmlRpcMetaDataHandler(AbstractReflectiveHandlerMapping pMapping,
TypeConverterFactory pTypeConverterFactory,
java.lang.Class pClass,
RequestProcessorFactoryFactory.RequestProcessorFactory pFactory,
java.lang.reflect.Method[] pMethods,
java.lang.String[][] pSignatures,
java.lang.String pMethodHelp)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethodHelp()
This method may be used to implement
XmlRpcListableHandlerMapping.getMethodHelp(String) . |
java.lang.String[][] |
getSignatures()
This method may be used to implement
XmlRpcListableHandlerMapping.getMethodSignature(String) . |
execute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
public ReflectiveXmlRpcMetaDataHandler(AbstractReflectiveHandlerMapping pMapping, TypeConverterFactory pTypeConverterFactory, java.lang.Class pClass, RequestProcessorFactoryFactory.RequestProcessorFactory pFactory, java.lang.reflect.Method[] pMethods, java.lang.String[][] pSignatures, java.lang.String pMethodHelp)
pMapping
- The mapping, which creates this handler.pClass
- The class, which has been inspected to create
this handler. Typically, this will be the same as
pInstance.getClass(). It is used for diagnostic messages only.
pMethods
- The method, which will be invoked for
executing the handler.pSignatures
- The signature, which will be returned by
getSignatures()
.pMethodHelp
- The help string, which will be returned
by getMethodHelp()
.public java.lang.String[][] getSignatures() throws XmlRpcException
XmlRpcMetaDataHandler
This method may be used to implement
XmlRpcListableHandlerMapping.getMethodSignature(String)
.
Typically, the handler mapping will pick up the
matching handler, invoke its method
XmlRpcMetaDataHandler.getSignatures()
, and return the result.
Method handlers, which are created by the
AbstractReflectiveHandlerMapping
, will typically
return a single signature only.
getSignatures
in interface XmlRpcMetaDataHandler
XmlRpcException
public java.lang.String getMethodHelp() throws XmlRpcException
XmlRpcMetaDataHandler
This method may be used to implement
XmlRpcListableHandlerMapping.getMethodHelp(String)
.
Typically, the handler mapping will pick up the
matching handler, invoke its method
XmlRpcMetaDataHandler.getMethodHelp()
, and return the result.
getMethodHelp
in interface XmlRpcMetaDataHandler
XmlRpcException
Copyright © 2001-2013. All Rights Reserved.