Interface ApplicationContainer

    • Method Detail

      • getTransport

        java.lang.String getTransport()
        Returns the transport that this container uses for testing.
        Returns:
        For example, "http", "local", "tcp", "jms", etc. It should match the scheme portion of the endpoint address URI. Never null. This value is compared in the descriptor's transport declaration to decide wheter to run a test or not.
      • getUnsupportedUses

        @NotNull
        java.util.Set<java.lang.String> getUnsupportedUses()
        Returns the unsupported uses for this container. For e.g lwhs container may return "servlet" as an unsupported "use"
        Returns:
        unsupported uses like "servlet", "nonapi" etc the returned value is compared againt descriptor's "uses" decl to decide wheter to run a test or not.
      • start

        void start()
            throws java.lang.Exception
        Starts the container. This is invoked at the very beginning before any service is deployed.
        Throws:
        java.lang.Exception
      • deploy

        @NotNull
        Application deploy​(DeployedService service)
                    throws java.lang.Exception
        Starts a service inside a container, making it ready to process requests.
        Throws:
        java.lang.Exception
      • shutdown

        void shutdown()
               throws java.lang.Exception
        Stops the container. This is invoked at the end to clean up any resources.
        Throws:
        java.lang.Exception