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] [Created] (KARAF-3151) Blueprint managed-properties doesn't call the update-method
Date Fri, 08 Aug 2014 07:18:13 GMT
Jean-Baptiste Onofré created KARAF-3151:
-------------------------------------------

             Summary: 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é
             Fix For: 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.2#6252)

Mime
View raw message