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

Guillaume Nodet commented on ARIES-1333:
----------------------------------------

What could be done is avoid the creation of a copy if the collection is 
actually compatible.

> 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)

Reply via email to