Package de.xima.fc.ms.test.extension
Class WeldEnvironment
- java.lang.Object
 - 
- de.xima.fc.ms.test.extension.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.jboss.weld.environment.se.WeldContainercontainer()Gets the Weld container that was started for the test environment.org.jboss.weld.junit5.WeldInitiatorinitiator()Gets the Weld initiator that was started for the test environment.org.jboss.weld.environment.se.Weldweld()Gets the Weld instance that was started for the test environment. 
 - 
 
- 
- 
Method Detail
- 
close
public void close() throws Exception- Specified by:
 closein interfaceAutoCloseable- Throws:
 Exception
 
- 
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.
 
 
 - 
 
 -