Package org.apache.xmlrpc.metadata
Interface XmlRpcMetaDataHandler
-
- All Superinterfaces:
XmlRpcHandler
- All Known Implementing Classes:
ReflectiveXmlRpcMetaDataHandler
public interface XmlRpcMetaDataHandler extends XmlRpcHandler
A metadata handler is able to provide metadata about itself, as specified here.- See Also:
- Specification of XML-RPC introspection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetMethodHelp()This method may be used to implementXmlRpcListableHandlerMapping.getMethodHelp(String).java.lang.String[][]getSignatures()This method may be used to implementXmlRpcListableHandlerMapping.getMethodSignature(String).-
Methods inherited from interface org.apache.xmlrpc.XmlRpcHandler
execute
-
-
-
-
Method Detail
-
getSignatures
java.lang.String[][] getSignatures() throws XmlRpcExceptionThis method may be used to implement
XmlRpcListableHandlerMapping.getMethodSignature(String). Typically, the handler mapping will pick up the matching handler, invoke its methodgetSignatures(), and return the result.Method handlers, which are created by the
AbstractReflectiveHandlerMapping, will typically return a single signature only.- Returns:
- An array of arrays. Any element in the outer array is a signature. The elements in the inner array are being concatenated with commas. The inner arrays first element is the return type, followed by the parameter types.
- Throws:
XmlRpcException
-
getMethodHelp
java.lang.String getMethodHelp() throws XmlRpcExceptionThis method may be used to implement
XmlRpcListableHandlerMapping.getMethodHelp(String). Typically, the handler mapping will pick up the matching handler, invoke its methodgetMethodHelp(), and return the result.- Throws:
XmlRpcException
-
-