Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 package org.apache.xmlrpc.metadata;
00020
00021 import java.lang.reflect.Method;
00022
00023 import org.apache.xmlrpc.XmlRpcException;
00024 import org.apache.xmlrpc.common.TypeConverterFactory;
00025 import org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping;
00026 import org.apache.xmlrpc.server.ReflectiveXmlRpcHandler;
00027 import org.apache.xmlrpc.server.RequestProcessorFactoryFactory.RequestProcessorFactory;
00028
00029
00032 public class ReflectiveXmlRpcMetaDataHandler extends ReflectiveXmlRpcHandler
00033 implements XmlRpcMetaDataHandler {
00034 private final String[][] signatures;
00035 private final String methodHelp;
00036
00050 public ReflectiveXmlRpcMetaDataHandler(AbstractReflectiveHandlerMapping pMapping,
00051 TypeConverterFactory pTypeConverterFactory,
00052 Class pClass, RequestProcessorFactory pFactory, Method[] pMethods,
00053 String[][] pSignatures, String pMethodHelp) {
00054 super(pMapping, pTypeConverterFactory, pClass, pFactory, pMethods);
00055 signatures = pSignatures;
00056 methodHelp = pMethodHelp;
00057 }
00058
00059 public String[][] getSignatures() throws XmlRpcException {
00060 return signatures;
00061 }
00062
00063 public String getMethodHelp() throws XmlRpcException {
00064 return methodHelp;
00065 }
00066 }