Class WeldEnvironment

  • All Implemented Interfaces:
    AutoCloseable

    public final class WeldEnvironment
    extends Object
    implements AutoCloseable
    Represents a Weld environment that was started for tests.
    Since:
    8.2.0
    • Method Detail

      • container

        public org.jboss.weld.environment.se.WeldContainer container()
        Gets the Weld container that was started for the test environment.
        Returns:
        The Weld container.
      • initiator

        public org.jboss.weld.junit5.WeldInitiator initiator()
        Gets the Weld initiator that was started for the test environment.
        Returns:
        The Weld initiator.
      • weld

        public org.jboss.weld.environment.se.Weld weld()
        Gets the Weld instance that was started for the test environment.
        Returns:
        The Weld instance.