John Ament created CDI-693:
------------------------------
Summary: Introduce a Instance#ifResolved(Consumer<T>) method
Key: CDI-693
URL:
https://issues.jboss.org/browse/CDI-693
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: John Ament
in many cases, the logic around isResolvable/isUnsatisfied/isAmbiguous could be replaced
by a consumer of the resolved instance. It would be good to introduce a
ifResolved(Consumer<T>) method that consumes the resolved instance, not invoking the
consumer if the instance was not resolvable.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)