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

Pete Muir (JIRA) jira-events at lists.jboss.org
Sat May 8 11:25:05 EDT 2010

     [ https://jira.jboss.org/jira/browse/WELDX-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WELDX-99.

    Resolution: Done
      Assignee: Pete Muir

> 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
>            Assignee: Pete Muir
>            Priority: Critical
>             Fix For: 1.0.0.Alpha2
> 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