[weld-issues] [JBoss JIRA] Created: (WELDX-99) BeanManagerAware should provide a static accessor

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Wed May 5 12:07:05 EDT 2010

BeanManagerAware should provide a static accessor

                 Key: WELDX-99
                 URL: https://jira.jboss.org/jira/browse/WELDX-99
             Project: Weld Extensions
          Issue Type: Feature Request
            Reporter: Lincoln Baxter III
            Priority: Critical

BeanManagerAware currently requires class inheritance in order to access the beanManager. This is fine, but it doesn't work in cases where the deriving class already inherits from another type.

BeanManagerAware should provide a static accessor:

public class BeanManagerAccessor extends BeanManagerAware
   public static BeanManager getManager()
      return new BeanManagerAccessor().getBeanManager();

Something like that, contained within BeanManagerAware, would suffice.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the weld-issues mailing list