| Package | Description |
|---|---|
| org.jboss.weld.junit5 |
| Modifier and Type | Method and Description |
|---|---|
protected WeldInitiator |
WeldInitiator.Builder.build(org.jboss.weld.environment.se.Weld weld,
List<Object> instancesToInject,
Set<Class<? extends Annotation>> scopesToActivate,
Set<javax.enterprise.inject.spi.Bean<?>> beans) |
static WeldInitiator |
ExtensionContextUtils.getInitiatorFromStore(org.junit.jupiter.api.extension.ExtensionContext context)
Can return null if WeldInitiator isn't stored yet
|
static WeldInitiator |
WeldInitiator.of(Class<?>... beanClasses)
The container is configured with the result of
createWeld() method and the given bean classes are added. |
static WeldInitiator |
WeldInitiator.of(org.jboss.weld.environment.se.Weld weld)
The container is configured through a provided
Weld instance. |
static WeldInitiator |
WeldInitiator.ofTestPackage()
The container is configured with the result of
createWeld() method and all the classes from the test class
package are added. |
static WeldInitiator |
WeldInitiator.performDefaultDiscovery()
The container is instructed to do automatic bean discovery, the resulting bean archive is NOT synthetic.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ExtensionContextUtils.setInitiatorToStore(org.junit.jupiter.api.extension.ExtensionContext context,
WeldInitiator initiator)
|
Copyright © 2018. All rights reserved.