Package com.sun.xml.ws.test.container
Class DeploymentContext
- java.lang.Object
-
- com.sun.xml.ws.test.container.DeploymentContext
-
public class DeploymentContext extends java.lang.ObjectState of runningTestDescriptorexecution.TestCases that work on the sameTestDescriptorshares this object to communicate information between them.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.ClassLoaderclientClassLoaderClassLoaderthat loads all the generated client artifacts.ApplicationContainercontainerContainer where services are deployed.TestDescriptordescriptorThe test descriptor that governs all the deployed services.java.util.Map<TestService,DeployedService>servicesWhich service is deployed where?java.io.FileworkDirWork directory top.WsToolwsimportWsTooltool to be used.
-
Constructor Summary
Constructors Constructor Description DeploymentContext(TestDescriptor descriptor, ApplicationContainer container, WsTool wsimport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetResources()voidprepare(boolean clean)Creates working directories.
-
-
-
Field Detail
-
descriptor
@NotNull public final TestDescriptor descriptor
The test descriptor that governs all the deployed services.
-
container
@NotNull public final ApplicationContainer container
Container where services are deployed.
-
services
public final java.util.Map<TestService,DeployedService> services
Which service is deployed where?
-
clientClassLoader
public java.lang.ClassLoader clientClassLoader
ClassLoaderthat loads all the generated client artifacts. This is used to run client tests.
-
workDir
public final java.io.File workDir
Work directory top.During test execution, this directory can be used as a temporary directory to store various temporary artifacts.
If you store something in the working directory, be sure to first create a sub-directory, to avoid colliding with other parts of the harness that uses the work directory.
-
-
Constructor Detail
-
DeploymentContext
public DeploymentContext(TestDescriptor descriptor, ApplicationContainer container, WsTool wsimport)
-
-