[
https://issues.apache.org/jira/browse/DELTASPIKE-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13984769#comment-13984769
]
Karl Kildén commented on DELTASPIKE-582:
----------------------------------------
I did not run it yet because I don't have java fx and did not have time to set
that up today. But looking at this class:
https://gist.github.com/karlkilden/6a3d894e5070a11fba0c
Any reason for both injecting and manually grabbing the instance? What happens
if you don't do that? What are the problems you face in your application? What
happens if you assign @ApplicationScoped rather than dependent to instances you
use?
I am not that familiar with OWB and Java SE but I will try your sample more
but I am out of town for a few days now.
> BeanProvider produces 2 instances of the object java se
> -------------------------------------------------------
>
> Key: DELTASPIKE-582
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-582
> Project: DeltaSpike
> Issue Type: Bug
> Components: CdiControl
> Affects Versions: 0.6
> Environment: linux ubunutu, eclipse kepler, maven config, open web
> beans
> Reporter: Barbier
> Labels: BeanProvider
> Attachments: office.data.zip, office.service.zip,
> office.ui.fx.debug.zip, office.ui.fx.zip
>
>
> the injection process with the following code produces 2 instances of the
> object
> LoginModel model = BeanProvider.getContextualReference( ILoginModel.class );
--
This message was sent by Atlassian JIRA
(v6.2#6252)