[
https://issues.apache.org/jira/browse/ARIES-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244122#comment-15244122
]
Guillaume Nodet edited comment on ARIES-1536 at 4/18/16 6:28 AM:
-----------------------------------------------------------------
The attribute {{ext:lifecycle="dynamic|static"}} could be set on a
{{<reference>}} element.
The default would be {{dynamic}}.
The effect os the {{lifecycle="static"}} attribute would be that if a this
reference becomes unsatisfied, all objects depending on it would be destroyed.
When the reference becomes satisfied again, the singletons depending on this
reference would be instantiated again.
Also, the plain object is injected instead of a proxy.
was (Author: gnt):
The attribute {{ext::lifecycle="dynamic|static"}} could be set on a
{{<reference>}} element.
The default would be {{dynamic}}.
The effect os the {{lifecycle="static"}} attribute would be that if a this
reference becomes unsatisfied, all objects depending on it would be destroyed.
When the reference becomes satisfied again, the singletons depending on this
reference would be instantiated again.
Also, the plain object is injected instead of a proxy.
> Introduce a reference lifecycle policy (dynamic / static)
> ---------------------------------------------------------
>
> Key: ARIES-1536
> URL: https://issues.apache.org/jira/browse/ARIES-1536
> Project: Aries
> Issue Type: New Feature
> Components: Blueprint
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Fix For: blueprint-core-1.7.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)