Tabnine Logo
ReflectiveXmlRpcHandler
Code IndexAdd Tabnine to your IDE (free)

How to use
ReflectiveXmlRpcHandler
in
org.apache.xmlrpc.server

Best Java code snippets using org.apache.xmlrpc.server.ReflectiveXmlRpcHandler (Showing top 7 results out of 315)

origin: org.apache.xmlrpc/xmlrpc-server

/** Creates a new instance of {@link XmlRpcHandler}.
 * @param pClass The class, which was inspected for handler
 * methods. This is used for error messages only. Typically,
 * it is the same than <pre>pInstance.getClass()</pre>.
 * @param pMethods The method being invoked.
 */
protected XmlRpcHandler newXmlRpcHandler(final Class pClass,
    final Method[] pMethods) throws XmlRpcException {
  String[][] sig = getSignature(pMethods);
  String help = getMethodHelp(pClass, pMethods);
  RequestProcessorFactory factory = requestProcessorFactoryFactory.getRequestProcessorFactory(pClass);
  if (sig == null  ||  help == null) {
    return new ReflectiveXmlRpcHandler(this, typeConverterFactory,
        pClass, factory, pMethods);
  }
  return new ReflectiveXmlRpcMetaDataHandler(this, typeConverterFactory,
      pClass, factory, pMethods, sig, help);
}
origin: org.sonatype.sisu/sisu-xmlrpc-server

  args[j] = pRequest.getParameter(j);
Object instance = getInstance(pRequest);
for (int i = 0;  i < methods.length;  i++) {
  MethodData methodData = methods[i];
        args[j] = converters[j].convert(args[j]);
      return invoke(instance, methodData.method, args);
origin: org.apache.xmlrpc/xmlrpc-server

  args[j] = pRequest.getParameter(j);
Object instance = getInstance(pRequest);
for (int i = 0;  i < methods.length;  i++) {
  MethodData methodData = methods[i];
        args[j] = converters[j].convert(args[j]);
      return invoke(instance, methodData.method, args);
origin: rosjava/rosjava_core

  args[j] = pRequest.getParameter(j);
Object instance = getInstance(pRequest);
for (int i = 0;  i < methods.length;  i++) {
  MethodData methodData = methods[i];
        args[j] = converters[j].convert(args[j]);
      return invoke(instance, methodData.method, args);
origin: rosjava/rosjava_core

/** Creates a new instance of {@link XmlRpcHandler}.
 * @param pClass The class, which was inspected for handler
 * methods. This is used for error messages only. Typically,
 * it is the same than <pre>pInstance.getClass()</pre>.
 * @param pMethods The method being invoked.
 */
protected XmlRpcHandler newXmlRpcHandler(final Class pClass,
    final Method[] pMethods) throws XmlRpcException {
  String[][] sig = getSignature(pMethods);
  String help = getMethodHelp(pClass, pMethods);
  RequestProcessorFactory factory = requestProcessorFactoryFactory.getRequestProcessorFactory(pClass);
  if (sig == null  ||  help == null) {
    return new ReflectiveXmlRpcHandler(this, typeConverterFactory,
        pClass, factory, pMethods);
  }
  return new ReflectiveXmlRpcMetaDataHandler(this, typeConverterFactory,
      pClass, factory, pMethods, sig, help);
}
origin: org.sonatype.sisu/sisu-xmlrpc-server

/** Creates a new instance of {@link XmlRpcHandler}.
 * @param pClass The class, which was inspected for handler
 * methods. This is used for error messages only. Typically,
 * it is the same than <pre>pInstance.getClass()</pre>.
 * @param pMethods The method being invoked.
 */
protected XmlRpcHandler newXmlRpcHandler(final Class pClass,
    final Method[] pMethods) throws XmlRpcException {
  String[][] sig = getSignature(pMethods);
  String help = getMethodHelp(pClass, pMethods);
  RequestProcessorFactory factory = requestProcessorFactoryFactory.getRequestProcessorFactory(pClass);
  if (sig == null  ||  help == null) {
    return new ReflectiveXmlRpcHandler(this, typeConverterFactory,
        pClass, factory, pMethods);
  }
  return new ReflectiveXmlRpcMetaDataHandler(this, typeConverterFactory,
      pClass, factory, pMethods, sig, help);
}
origin: org.sonatype.sisu.jira.mediator/sisu-jira-mediator

@Override
protected XmlRpcHandler newXmlRpcHandler( @SuppressWarnings( "rawtypes" ) final Class pClass,
                     final Method[] pMethods )
  throws XmlRpcException
{
  if ( this.handler != null )
  {
    RequestProcessorFactory factory = getRequestProcessorFactoryFactory().getRequestProcessorFactory( pClass );
    factory = new RequestProcessorFactory()
    {
      @Override
      public Object getRequestProcessor( final XmlRpcRequest pRequest )
        throws XmlRpcException
      {
        return handler;
      }
    };
    return new ReflectiveXmlRpcHandler( this, getTypeConverterFactory(), pClass, factory, pMethods);
  }
  else
  {
    return super.newXmlRpcHandler( pClass, pMethods );
  }
}
org.apache.xmlrpc.serverReflectiveXmlRpcHandler

Javadoc

Default implementation of XmlRpcHandler.

Most used methods

  • <init>
    Creates a new instance.
  • getInstance
  • invoke

Popular in Java

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
  • getApplicationContext (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now