org.apache.xmlrpc.metadata

Interface XmlRpcMetaDataHandler

All Superinterfaces:
XmlRpcHandler
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

String
getMethodHelp()
This method may be used to implement XmlRpcListableHandlerMapping.getMethodHelp(String).
String[][]
getSignatures()
This method may be used to implement XmlRpcListableHandlerMapping.getMethodSignature(String).

Methods inherited from interface org.apache.xmlrpc.XmlRpcHandler

execute

Method Details

getMethodHelp

public String getMethodHelp()
            throws XmlRpcException
This method may be used to implement XmlRpcListableHandlerMapping.getMethodHelp(String). Typically, the handler mapping will pick up the matching handler, invoke its method getMethodHelp(), and return the result.

getSignatures

public String[][] getSignatures()
            throws XmlRpcException
This method may be used to implement XmlRpcListableHandlerMapping.getMethodSignature(String). Typically, the handler mapping will pick up the matching handler, invoke its method getSignatures(), 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.

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.