Search in sources :

Example 1 with Weld

use of org.jboss.weld.environment.se.Weld in project jetty.project by eclipse.

the class WebSocketScopeBaselineTest method startWeld.

@BeforeClass
public static void startWeld() {
    Logging.config();
    weld = new Weld();
    container = weld.initialize();
}
Also used : Weld(org.jboss.weld.environment.se.Weld) BeforeClass(org.junit.BeforeClass)

Example 2 with Weld

use of org.jboss.weld.environment.se.Weld in project jetty.project by eclipse.

the class WebSocketScopeSessionTest method startWeld.

@BeforeClass
public static void startWeld() {
    Logging.config();
    weld = new Weld();
    container = weld.initialize();
}
Also used : Weld(org.jboss.weld.environment.se.Weld) BeforeClass(org.junit.BeforeClass)

Example 3 with Weld

use of org.jboss.weld.environment.se.Weld in project jersey by jersey.

the class HelloWorldTest method setUp.

@Override
public void setUp() throws Exception {
    weld = new Weld();
    weld.initialize();
    super.setUp();
}
Also used : Weld(org.jboss.weld.environment.se.Weld)

Example 4 with Weld

use of org.jboss.weld.environment.se.Weld in project jersey by jersey.

the class NonJaxRsBeanJaxRsInjectionTest method initializeWeld.

private void initializeWeld() {
    weld = new Weld();
    weld.initialize();
}
Also used : Weld(org.jboss.weld.environment.se.Weld)

Example 5 with Weld

use of org.jboss.weld.environment.se.Weld in project jersey by jersey.

the class SecondJaxRsInjectedCdiBeanTest method setUp.

@Override
public void setUp() throws Exception {
    weld = new Weld();
    weld.initialize();
    super.setUp();
}
Also used : Weld(org.jboss.weld.environment.se.Weld)

Aggregations

Weld (org.jboss.weld.environment.se.Weld)25 BeforeClass (org.junit.BeforeClass)6 WeldContainer (org.jboss.weld.environment.se.WeldContainer)4 Test (org.junit.Test)4 File (java.io.File)1 IOException (java.io.IOException)1 ArrayList (java.util.ArrayList)1 BeanManager (javax.enterprise.inject.spi.BeanManager)1 BootOptions (org.commonjava.indy.boot.BootOptions)1 BootStatus (org.commonjava.indy.boot.BootStatus)1 HttpServer (org.glassfish.grizzly.http.server.HttpServer)1 ExternalTestContainerFactory (org.glassfish.jersey.test.external.ExternalTestContainerFactory)1 Before (org.junit.Before)1