You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/16 03:20:58 UTC

[jira] [Commented] (CXF-7134) Fix how non-normal scoped beans are used in CDI extension

    [ https://issues.apache.org/jira/browse/CXF-7134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15669230#comment-15669230 ] 

ASF GitHub Bot commented on CXF-7134:
-------------------------------------

GitHub user johnament opened a pull request:

    https://github.com/apache/cxf/pull/200

    CXF-7134 Store the creational context of each bean being created so t…

    …hey can be destroyed later on.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/johnament/cxf CXF-7134-creational-context

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/200.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #200
    
----
commit 7d9a71658443c409b378f9f19949351845f83d86
Author: John D. Ament <jo...@apache.org>
Date:   2016-11-16T03:19:03Z

    CXF-7134 Store the creational context of each bean being created so they can be destroyed later on.

----


> Fix how non-normal scoped beans are used in CDI extension
> ---------------------------------------------------------
>
>                 Key: CXF-7134
>                 URL: https://issues.apache.org/jira/browse/CXF-7134
>             Project: CXF
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 3.1.8
>            Reporter: John D. Ament
>             Fix For: 3.1.9
>
>
> When bean instances are looked up, they are never closed.  We need to hold on to all creational contexts and destroy them afterwards.
> In addition, need to look at how dependent scoped beans are used.  They're currently behaving like singletons which doesn't sound right.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)