Class DeploymentContext

java.lang.Object
com.sun.xml.ws.test.container.DeploymentContext

public class DeploymentContext extends Object
State of running TestDescriptor execution. TestCases that work on the same TestDescriptor shares this object to communicate information between them.
Author:
Kohsuke Kawaguchi
  • Field Details

    • 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.
    • wsimport

      @NotNull public final WsTool wsimport
      WsTool tool to be used.
    • services

      public final Map<TestService,DeployedService> services
      Which service is deployed where?
    • clientClassLoader

      public ClassLoader clientClassLoader
      ClassLoader that loads all the generated client artifacts. This is used to run client tests.
    • workDir

      public final 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 Details

  • Method Details

    • prepare

      public void prepare(boolean clean)
      Creates working directories.
      Parameters:
      clean - if true, all the previous left-over files in the working directory will be deleted.
    • getResources

      public File getResources()