]
Antoine Sabot-Durand updated CDI-515:
-------------------------------------
Fix Version/s: 2.0 (discussion)
Allow to obtain Bean metadata from javax.enterprise.inject.Instance
-------------------------------------------------------------------
Key: CDI-515
URL:
https://issues.jboss.org/browse/CDI-515
Project: CDI Specification Issues
Issue Type: Feature Request
Affects Versions: 1.2.Final
Reporter: Martin Kouba
Fix For: 2.0 (discussion)
Sometimes it might be useful to obtain Bean metadata from the
{{javax.enterprise.inject.Instance}} (similarly as 5.5.8. Bean metadata). The method could
be named {{getBean()}} and should have similar restrictions like {{get()}} (e.g. throw
{{UnsatisfiedResolutionException}} if appropriate).