You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2013/04/08 17:19:16 UTC
[jira] [Reopened] (OWB-766) Use CreationalContextImpl to pass info
about InjectionPoint, Event, etc
[ https://issues.apache.org/jira/browse/OWB-766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek reopened OWB-766:
----------------------------------
@ApplicationScoped
public class TestBeanProducer {
@Produces
@Dependent
public TestBean createTestBean(InjectionPoint injectionPoint /*issue*/) {
//...
}
}
public class MyObserver {
public void onMyEvent(@Observes MyEvent myEvent, TestBean testBean) {
//...
}
}
doesn't work any longer
> Use CreationalContextImpl to pass info about InjectionPoint, Event, etc
> -----------------------------------------------------------------------
>
> Key: OWB-766
> URL: https://issues.apache.org/jira/browse/OWB-766
> Project: OpenWebBeans
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2.0
> Reporter: Mark Struberg
> Assignee: Arne Limburg
> Fix For: 1.2.0
>
>
> We currently use lots of ThreadLocals to pass information about the InjectionPoint and similar information. Sometimes those are even public...
> Arne had the idea to put this information into our CreationalContext. That way we don't need any sophisticated locking nor ThreadLocals anymore.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira