[cdi-dev] Clarification of BeanManager.getReference

John Ament john.ament at spartasystems.com
Sun Dec 11 12:40:06 EST 2016


A discussion popped up on a recent CXF vote.  As I understand it, per section 11.3.2 (from CDI 1.2), The Type parameter passed in to getReference is meant to be the class to proxy for the returned object, if the object requires a proxy (e.g. a normal scoped bean).  Is that accurate? Or is the underlying type the type of the returned bean, from Bean.create(CreationalContext) ?


NOTICE: This e-mail message and any attachments may contain confidential, proprietary, and/or privileged information which should be treated accordingly. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this message, and destroy all physical and electronic copies. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20161211/1a38dc1c/attachment.html 

More information about the cdi-dev mailing list