use of org.jboss.weld.environment.se.Weld in project drools by kiegroup.
the class CDIExampleWithInclusion method main.
public static void main(String[] args) {
Weld w = new Weld();
WeldContainer wc = w.initialize();
CDIExampleWithInclusion bean = wc.instance().select(CDIExampleWithInclusion.class).get();
bean.go(System.out);
w.shutdown();
}
use of org.jboss.weld.environment.se.Weld in project drools by kiegroup.
the class CDIInstanceExample method main.
public static void main(String[] args) {
Weld w = new Weld();
WeldContainer wc = w.initialize();
CDIInstanceExample bean = wc.instance().select(CDIInstanceExample.class).get();
bean.go(System.out);
w.shutdown();
}
use of org.jboss.weld.environment.se.Weld in project jetty.project by eclipse.
the class ScopeBasicsTest method startWeld.
@BeforeClass
public static void startWeld() {
Logging.config();
weld = new Weld();
container = weld.initialize();
}
use of org.jboss.weld.environment.se.Weld in project jersey by jersey.
the class RawCdiTest method setUp.
@Override
public void setUp() throws Exception {
if (!ExternalTestContainerFactory.class.isAssignableFrom(getTestContainerFactory().getClass())) {
weld = new Weld();
weld.initialize();
}
super.setUp();
}
use of org.jboss.weld.environment.se.Weld in project jersey by jersey.
the class CdiTest method setUp.
@Override
public void setUp() throws Exception {
weld = new Weld();
weld.initialize();
super.setUp();
}
Aggregations