Interface WildFlyContainerController

  • All Superinterfaces:
    org.jboss.arquillian.container.test.api.ContainerController
    All Known Implementing Classes:
    ClientWildFlyContainerController, InContainerWildFlyContainerController

    public interface WildFlyContainerController
    extends org.jboss.arquillian.container.test.api.ContainerController

    This extension to the original controller provides WildFly-specific lifecycle control methods.

    Version:
    Jan 2015
    Author:
    Radoslav Husar
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void stop​(String containerQualifier, int timeout)
      Stops the given container with a timeout; corresponds to :shutdown(timeout=Y) management operation.
      • Methods inherited from interface org.jboss.arquillian.container.test.api.ContainerController

        isStarted, kill, start, start, stop
    • Method Detail

      • stop

        void stop​(String containerQualifier,
                  int timeout)
        Stops the given container with a timeout; corresponds to :shutdown(timeout=Y) management operation. Only compatible with WildFly 9 and newer!

        Note that if the stopTimeoutInSeconds configuration property is set at a lower value than the timeout parameter the container process may be destroyed before the controlled shutdown finishes.

        Parameters:
        containerQualifier - container qualifier
        timeout - timeout in seconds to wait during suspend phase