On Tue, Sep 6, 2011 at 18:26, Pete Muir <pmuir@redhat.com> wrote:
Regarding https://issues.jboss.org/browse/CDI-14, I've created this patch https://github.com/jboss/cdi/pull/43.
This also touches on CDI-26, which is about providing an embedded mode (API for starting CDI) - it covers about 50% of that issue. It doesn't provide a bootstrap API, but it does provide a programmatic API to access the container:
CDI.current().getBeanManager();
CDI.current().select(MyBean.class).select(new MyQualifierLiteral()).doSomething();
(CDI implements Instance)