Class EnterpriseTestLifeCycle

  • All Implemented Interfaces:
    org.apache.webbeans.spi.ContainerLifecycle

    public class EnterpriseTestLifeCycle
    extends org.apache.webbeans.lifecycle.StandaloneLifeCycle
    Ease the writing of the tests. Simulates container startup and stop functionality. This will scan all classes on the classpaths which have a beans.xml file.
    Version:
    $Rev: 892509 $ $Date: 2009-12-19 23:47:15 +0200 (Sat, 19 Dec 2009) $
    • Constructor Detail

      • EnterpriseTestLifeCycle

        public EnterpriseTestLifeCycle()
    • Method Detail

      • beforeStartApplication

        public void beforeStartApplication​(Object object)
        Overrides:
        beforeStartApplication in class org.apache.webbeans.lifecycle.StandaloneLifeCycle
      • initApplication

        public void initApplication​(Properties properties)
        Specified by:
        initApplication in interface org.apache.webbeans.spi.ContainerLifecycle
        Overrides:
        initApplication in class org.apache.webbeans.lifecycle.AbstractLifeCycle
      • beforeStopApplication

        public void beforeStopApplication​(Object endObject)
        Overrides:
        beforeStopApplication in class org.apache.webbeans.lifecycle.StandaloneLifeCycle