You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Tomas Rohovsky (JIRA)" <ji...@apache.org> on 2015/06/11 14:25:00 UTC

[jira] [Updated] (ARIES-1333) Cannot instantiate singleton collections in blueprint

     [ https://issues.apache.org/jira/browse/ARIES-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomas Rohovsky updated ARIES-1333:
----------------------------------
    Attachment: bean-reference.zip

> Cannot instantiate singleton collections in blueprint
> -----------------------------------------------------
>
>                 Key: ARIES-1333
>                 URL: https://issues.apache.org/jira/browse/ARIES-1333
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: blueprint-core-1.4.2
>            Reporter: Tomas Rohovsky
>         Attachments: bean-reference.zip
>
>
> New instances of collections (set, list, map) are always created when referring them by different beans. So, it behaves like the {{prototype}} scope would be set on them. The {{singleton}} scope should be default, but it doesn't work even if it is set explicitly. A Camel based reproducer is attached. Note that this is not an issue for Spring configuration.



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