You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2016/04/16 11:53:25 UTC

[jira] [Commented] (ARIES-1536) Introduce a reference lifecycle policy (dynamic / static)

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

Guillaume Nodet commented on ARIES-1536:
----------------------------------------

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
>




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