karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3151) Blueprint managed-properties doesn't call the update-method
Date Thu, 09 Oct 2014 05:46:33 GMT

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

Jean-Baptiste Onofré resolved KARAF-3151.
-----------------------------------------
    Resolution: Fixed

> Blueprint managed-properties doesn't call the update-method
> -----------------------------------------------------------
>
>                 Key: KARAF-3151
>                 URL: https://issues.apache.org/jira/browse/KARAF-3151
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 3.0.2
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>             Fix For: 4.0.0, 3.0.2
>
>
> When defining a bean in blueprint descriptor like this:
> {code}
> <bean id="myBean" class="..." scope="singleton" destroy-method="destroy">
>   <cm:managed-properties persistent-id="my.config.id" update-strategy="component-managed"
update-method="updateOrInit"/>
> </bean>
> {code}
> when the etc/my.config.id.cfg file is modified (for instance changing a property), the
bean is not called.
> It seems to work fine with Karaf 3.0.1, but not in 3.0.2-SNAPSHOT. I'm retesting in 3.0.2-SNAPSHOT
and 4.0.0-SNAPSHOT (I'm suspecting a change in Aries Blueprint).



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

Mime
View raw message