Class Invoker

java.lang.Object
com.sun.tools.ws.Invoker

public final class Invoker extends Object
Invokes JAX-WS tools in a special class loader that can pick up annotation processing classes, even if it's not available in the tool launcher classpath.
Author:
Kohsuke Kawaguchi
  • Field Details

    • noSystemProxies

      public static final boolean noSystemProxies
      Escape hatch to work around IBM JDK problem. See http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?nav=false&forum=367&thread=164718&cat=10
  • Method Details

    • checkIfLoading21API

      public static boolean checkIfLoading21API()
      Returns true if the RI appears to be loading the JAX-WS 2.1 API.
    • checkIfLoading22API

      public static boolean checkIfLoading22API()
      Returns true if the RI appears to be loading the JAX-WS 2.2 API.
    • createClassLoader

      public static ClassLoader createClassLoader(ClassLoader cl) throws ClassNotFoundException, IOException
      Creates a class loader that can load JAXB/WS 2.2 API, and then return a class loader that can RI classes, which can see all those APIs.
      Throws:
      ClassNotFoundException
      IOException