We need a general purpose way of finding a BeanManager.
+1 for me.

This way should include JNDI lookup to a fallback BeanManagerLocator that uses a ServiceLoader
+1 for me.

I think the behavior should look like this:


In addition,

I think we need a simplified interface for BeanManager. 

https://github.com/CDISource/cdisource/blob/master/beancontainer/api/src/main/java/org/cdisource/beancontainer/BeanContainer.java

This could just be a utility class, but it should be included with CDI 1.1. I think the  BeanManager interface is too low level.



--
Rick Hightower
(415) 968-9037
Profile