congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Finding current android device location
  • getResourceAsStream (ClassLoader)
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Runner (org.openjdk.jmh.runner)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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