Package org.apache.xmlrpc.metadata
Class XmlRpcSystemImpl
- java.lang.Object
-
- org.apache.xmlrpc.metadata.XmlRpcSystemImpl
-
public class XmlRpcSystemImpl extends Object
This class implements the various "system" calls, as specifies byXmlRpcListableHandlerMapping. Suggested use is to create an instance and add it to the handler mapping with the "system" prefix.
-
-
Constructor Summary
Constructors Constructor Description XmlRpcSystemImpl(XmlRpcListableHandlerMapping pMapping)Creates a new instance, which provides meta data for the given handler mappings methods.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddSystemHandler(PropertyHandlerMapping pMapping)Adds an instance of this class to the given handler mapping.String[]listMethods()Implements the "system.listMethods" call.StringmethodHelp(String methodName)Implements the "system.methodHelp" call.String[][]methodSignature(String methodName)Implements the "system.methodSignature" call.
-
-
-
Constructor Detail
-
XmlRpcSystemImpl
public XmlRpcSystemImpl(XmlRpcListableHandlerMapping pMapping)
Creates a new instance, which provides meta data for the given handler mappings methods.
-
-
Method Detail
-
methodSignature
public String[][] methodSignature(String methodName) throws XmlRpcException
Implements the "system.methodSignature" call.- Throws:
XmlRpcException- See Also:
XmlRpcListableHandlerMapping.getMethodSignature(String)
-
methodHelp
public String methodHelp(String methodName) throws XmlRpcException
Implements the "system.methodHelp" call.- Throws:
XmlRpcException- See Also:
XmlRpcListableHandlerMapping.getMethodHelp(String)
-
listMethods
public String[] listMethods() throws XmlRpcException
Implements the "system.listMethods" call.- Throws:
XmlRpcException- See Also:
XmlRpcListableHandlerMapping.getListMethods()
-
addSystemHandler
public static void addSystemHandler(PropertyHandlerMapping pMapping) throws XmlRpcException
Adds an instance of this class to the given handler mapping.- Throws:
XmlRpcException
-
-