|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.ws.Invoker
public final class Invoker
Invokes JAX-WS tools in a special class loader that can pick up APT classes, even if it's not available in the tool launcher classpath.
Field Summary | |
---|---|
static String[] |
maskedPackages
The list of package prefixes we want the MaskingClassLoader to prevent the parent
classLoader from loading |
static boolean |
noSystemProxies
Escape hatch to work around IBM JDK problem. |
Constructor Summary | |
---|---|
Invoker()
|
Method Summary | |
---|---|
static boolean |
checkIfLoading21API()
Returns true if the RI appears to be loading the JAX-WS 2.1 API. |
static ClassLoader |
createClassLoader(ClassLoader cl)
Creates a classloader that can load JAXB/WS 2.1 API and tools.jar, and then return a classloader that can RI classes, which can see all those APIs and tools.jar. |
(package private) static int |
invoke(String mainClass,
String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String[] maskedPackages
MaskingClassLoader
to prevent the parent
classLoader from loading
public static boolean noSystemProxies
Constructor Detail |
---|
public Invoker()
Method Detail |
---|
static int invoke(String mainClass, String[] args) throws Throwable
Throwable
public static boolean checkIfLoading21API()
public static ClassLoader createClassLoader(ClassLoader cl) throws ClassNotFoundException, MalformedURLException, com.sun.tools.xjc.api.util.ToolsJarNotFoundException
ClassNotFoundException
MalformedURLException
com.sun.tools.xjc.api.util.ToolsJarNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |