Tabnine Logo
ReflectiveXmlRpcHandler.<init>
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.<init> (Showing top 4 results out of 315)

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.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: 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.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<init>

Javadoc

Creates a new instance.

Popular methods of ReflectiveXmlRpcHandler

  • getInstance
  • invoke

Popular in Java

  • Creating JSON documents from java classes using gson
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • Menu (java.awt)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Path (java.nio.file)
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Runner (org.openjdk.jmh.runner)
  • Top 12 Jupyter Notebook extensions
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