[weld-issues] [JBoss JIRA] Closed: (WELDX-125) Support Just-In-Time Binding
Pete Muir (JIRA)
jira-events at lists.jboss.org
Mon Sep 20 07:50:28 EDT 2010
[ https://jira.jboss.org/browse/WELDX-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir closed WELDX-125.
---------------------------
Assignee: Pete Muir (was: Takeshi Kondo)
Resolution: Out of Date
Agreed
> Support Just-In-Time Binding
> ----------------------------
>
> Key: WELDX-125
> URL: https://jira.jboss.org/browse/WELDX-125
> Project: Weld Extensions
> Issue Type: Feature Request
> Reporter: Takeshi Kondo
> Assignee: Pete Muir
> Attachments: JustInTimeBinding.patch, JustInTimeBindingTest.patch
>
>
> In guice , If a type is needed but there isn't an explicit binding, the injector will attempt to create a Just-In-Time binding.(http://code.google.com/p/google-guice/wiki/JustInTimeBindings)
> However, If a type is needed but there isn't an explicit binding, WebBeans's BeanManager throws UnsatisfiedResolutionException.
> If a type is concret class, BeanManager can create and inject a instance.
> I want to use injection as instance creation. because of keeping simplicity of code.
> Writing beans.xml is laborious.
> for instance
> --------
> @ApplicationScoped
> public class Counter{
> @Current
> java.util.concurrent.atomic.AtomicInteger atomicInteger;
> ...
> -------
--
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
More information about the weld-issues
mailing list