You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2015/01/02 11:40:13 UTC
[jira] [Created] (OWB-1032) create ProviderImpl (as an optimized
InstanceImpl)
Romain Manni-Bucau created OWB-1032:
---------------------------------------
Summary: create ProviderImpl (as an optimized InstanceImpl)
Key: OWB-1032
URL: https://issues.apache.org/jira/browse/OWB-1032
Project: OpenWebBeans
Issue Type: Improvement
Reporter: Romain Manni-Bucau
Not enough time to do it myself ATM so opening a task to either not forget or let somebody else play with it.
ATM we rely on InstanceImpl (Instance) to be able to inject a Provider.
Instance as few more constraints since it can be used for dynamic resolution.
Proposal: add ProviderImpl which is highly optimized (mainly a normal injection which can be unresolved which means we can cache the instance in the provider and skip all the dynamic resolution part).
This would allow some kind of Optional natively.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)