Package com.sun.xml.ws.test
Class World
- java.lang.Object
-
- com.sun.xml.ws.test.World
-
public final class World extends Object
"Global variables" for the test harness. Use with caution. This class includes pointers to variousClassRealms that represent compartments inside the VM.The followings are the key realms:
- "harness" realm that loads all the test harness code, including lots of 3rd party jars.
- "runtime" realm that loads the classes that the client script will use to execute tests.
- "wsimport" realm that loads the tool/wsgen tools, if we invoke it
within the same VM. Otherwise this realm is empty.
Realms are created when
Worldis created, but they are filled in fromMain.
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description World()
-
-
-
Field Detail
-
project
public static final org.apache.tools.ant.Project project
Whenever we need aProjectto use Ant tasks, we can use this shared instance.
-
runtime
public static final Realm runtime
Loads JAX-WS runtime classes. This realm is also used to load the embedded application container, so that we don't have to package JAX-WS runtime into the war file.
-
tool
public static final Realm tool
-
debug
public static boolean debug
- See Also:
Main.debug
-
-