| 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 |
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.
|
Copyright © 2018. All rights reserved.