org.apache.xmlrpc.metadata

Interface XmlRpcMetaDataHandler

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
StringgetMethodHelp()

This method may be used to implement {@link XmlRpcListableHandlerMapping#getMethodHelp(String)}.

String[][]getSignatures()

This method may be used to implement {@link XmlRpcListableHandlerMapping#getMethodSignature(String)}.

Method Detail

getMethodHelp

public String getMethodHelp()

This method may be used to implement {@link XmlRpcListableHandlerMapping#getMethodHelp(String)}. Typically, the handler mapping will pick up the matching handler, invoke its method {@link #getMethodHelp()}, and return the result.

getSignatures

public String[][] getSignatures()

This method may be used to implement {@link XmlRpcListableHandlerMapping#getMethodSignature(String)}. Typically, the handler mapping will pick up the matching handler, invoke its method {@link #getSignatures()}, and return the result.

Method handlers, which are created by the {@link 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.