[~marsik] I see. [This branch|https://github.com/mkouba/core/tree/WELD-1665] contains a prototype (still work in progress!). The only thing you have to do is to bind the BeanManager (from WeldContainer) in the ServletContext before you start Jetty. The attribute name should be {{org.jboss.weld.environment.servlet.javax.enterprise.inject.spi.BeanManager}}. Feel free to test the prototype and make further proposals. There is [a test|https://github.com/mkouba/core/ commit blob / fc455b8908609181c6f23c1393c52533aad430af#diff WELD - 9 1665/environments/servlet/tests/jetty/src/test/se-coop/org/jboss/weld/environment/servlet/test/se/coop/BootstrapNotNeededTest.java#L38 ] which indicates how this should work.
|