]
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: