Add ability to access a bean instance from a proxy
--------------------------------------------------

                 Key: CDI-10
                 URL: https://jira.jboss.org/browse/CDI-10
             Project: CDI Specification Issues
          Issue Type: Feature Request
            Reporter: Stuart Douglas


There are occasions when it would be useful to access a bean instance directly 
from a proxy. This could be achieved by making all proxies assignable to an 
interface (say BeanProxy) that provides a getBeanInstance() method. 
Client code that needs access to the actual instance can check if the object is 
assignable to the BeanProxy interface and then call getBeanInstance() to get 
the actual instance if required.

This is something that is probably more useful to extension writers than the 
end user, but there have already been a few requests on the weld forum about 
this so it is probably worth considering.

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

        
_______________________________________________
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to