Package org.apache.xmlrpc.metadata
Class XmlRpcSystemImpl
- java.lang.Object
-
- org.apache.xmlrpc.metadata.XmlRpcSystemImpl
-
public class XmlRpcSystemImpl extends java.lang.ObjectThis 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.
-
-
Field Summary
Fields Modifier and Type Field Description private XmlRpcListableHandlerMappingmapping
-
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.java.lang.String[]listMethods()Implements the "system.listMethods" call.java.lang.StringmethodHelp(java.lang.String methodName)Implements the "system.methodHelp" call.java.lang.String[][]methodSignature(java.lang.String methodName)Implements the "system.methodSignature" call.
-
-
-
Field Detail
-
mapping
private XmlRpcListableHandlerMapping mapping
-
-
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 java.lang.String[][] methodSignature(java.lang.String methodName) throws XmlRpcExceptionImplements the "system.methodSignature" call.- Throws:
XmlRpcException- See Also:
XmlRpcListableHandlerMapping.getMethodSignature(String)
-
methodHelp
public java.lang.String methodHelp(java.lang.String methodName) throws XmlRpcExceptionImplements the "system.methodHelp" call.- Throws:
XmlRpcException- See Also:
XmlRpcListableHandlerMapping.getMethodHelp(String)
-
listMethods
public java.lang.String[] listMethods() throws XmlRpcExceptionImplements 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
-
-