public final class Invoker extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
Invoker() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkIfLoading21API()
Returns true if the RI appears to be loading the JAX-WS 2.1 API.
|
static boolean |
checkIfLoading22API()
Returns true if the RI appears to be loading the JAX-WS 2.2 API.
|
static ClassLoader |
createClassLoader(ClassLoader cl)
Creates a classloader that can load JAXB/WS 2.2 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) |
public static String[] maskedPackages
MaskingClassLoader
to prevent the parent
classLoader from loadingpublic static boolean noSystemProxies
public static boolean checkIfLoading21API()
public static boolean checkIfLoading22API()
public static ClassLoader createClassLoader(ClassLoader cl) throws ClassNotFoundException, IOException, com.sun.tools.xjc.api.util.ToolsJarNotFoundException
ClassNotFoundException
IOException
com.sun.tools.xjc.api.util.ToolsJarNotFoundException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.