Interface Application

  • All Known Implementing Classes:
    AbstractHttpApplication

    public interface Application
    Represents an application deployed inside a ApplicationContainer.

    This object needs to be multi-thread safe.

    Author:
    Kohsuke Kawaguchi
    • Method Detail

      • getEndpointAddress

        @NotNull
        java.net.URI getEndpointAddress​(@NotNull
                                        TestEndpoint endpoint)
                                 throws java.lang.Exception
        Returns the actual endpoint address to which the given TestEndpoint is deployed.
        Throws:
        java.lang.Exception
      • getWSDL

        @NotNull
        java.util.List<java.net.URL> getWSDL()
                                      throws java.lang.Exception
        Gets the WSDL of this service.

        This WSDL will be compiled to generate client artifacts during a test. In the general case, you may get more than one WSDL from one web application.

        Throws:
        java.lang.Exception
      • undeploy

        void undeploy()
               throws java.lang.Exception
        Removes this application from the container.
        Throws:
        java.lang.Exception