[jira] [Commented] (DELTASPIKE-582) BeanProvider produces 2 instances of the object java se
[ https://issues.apache.org/jira/browse/DELTASPIKE-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13986548#comment-13986548 ] Barbier commented on DELTASPIKE-582: Ok, I've tried to re-design my application in order to to have it compliant to your comment but this is not working. @Inject with @ApplicationScopped and without beanProvider does not provide my app with objects instances. Furthermore, I re-read the meaning and definitions of the annotations used in CDI and it is said that @ApplicationScopped is only a web scope and not a desktop app scope. Maybe have I to use only classes and not annotations to be able to use CDI in my app but in this case it sounds more logical to use a factory or something like that. I wanted to use CDI to avoid the factory. 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 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)
[jira] [Updated] (DELTASPIKE-582) BeanProvider produces 2 instances of the object java se
[ https://issues.apache.org/jira/browse/DELTASPIKE-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Barbier updated DELTASPIKE-582: --- Attachment: office.ui.fx.debug.zip Hello Karl Here under the trace that shows the double instance of both LoginModel LoginView in the javafx application 20:16:07.673 [main] DEBUG LoginControl - 20:16:07.674 [main] TRACE LoginModel - 20:16:07.674 [main] TRACE LoginView - 20:16:07.701 [main] TRACE LoginView - 20:16:07.702 [main] TRACE LoginModel - 20:16:07.708 [main] TRACE ApplicationControl - fireEvent:INIT 20:16:07.762 [JavaFX-Launcher] TRACE ApplicationMain - 20:16:07.781 [JavaFX Application Thread] TRACE ApplicationMain - start This is visible when you start ApplicationMain in which the main method is defined btw, I would like to let you know that the idea behind this framework is most according to me one of the best one. I hope it will be soon in a GA state. regards, Didier 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)
[jira] [Commented] (DELTASPIKE-582) BeanProvider produces 2 instances of the object java se
[ https://issues.apache.org/jira/browse/DELTASPIKE-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13982257#comment-13982257 ] Barbier commented on DELTASPIKE-582: Please let me know how I can provide you with the sources that show this issue. I can't find any way to attach them. Regards, Didier 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 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)