java.lang.Object
com.sun.tools.ws.Invoker
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
Escape hatch to work around IBM JDK problem. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Returns true if the RI appears to be loading the JAX-WS 2.1 API.static boolean
Returns true if the RI appears to be loading the JAX-WS 2.2 API.static ClassLoader
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.
-
Field Details
-
noSystemProxies
public static final boolean noSystemProxiesEscape 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
-