Interface ApplicationContainer

    • Method Detail

      • getTransport

        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
        Set<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 Exception
        Starts the container. This is invoked at the very beginning before any service is deployed.
        Throws:
        Exception
      • shutdown

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