[
https://issues.apache.org/jira/browse/ARIES-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider resolved ARIES-1268.
----------------------------------------
Resolution: Cannot Reproduce
There is a test
org.apache.aries.blueprint.itests.TestConfigAdmin.testStrategyComponent that
tests a managed service with strategy component-managed. The test shows that it
works.
Here is the xml snippet that defines the bean:
<bean id="component-managed"
class="org.apache.aries.blueprint.sample.Foo">
<cm:managed-properties
persistent-id="blueprint-sample-managed.component"
update-strategy="component-managed"
update-method="update" />
</bean>
Can you check if the problem still exists with the current release and send
some more info on how to reproduce?
> Managed Service Factory cm:managed-properties only supports container-managed
> strategy
> --------------------------------------------------------------------------------------
>
> Key: ARIES-1268
> URL: https://issues.apache.org/jira/browse/ARIES-1268
> Project: Aries
> Issue Type: Bug
> Components: Blueprint
> Reporter: Edward Ost
> Assignee: Christian Schneider
> Priority: Minor
>
> Only container managed strategies are respected when used by a
> cm:managed-properties element within a cm:managed-service factory. This is
> reflected in the tests as well, which only use container-managed. When
> update-strategy is set to "component-managed" the update-method attribute
> should be honored. But right now it just continues with container managed
> injection and does not invoke the callback.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)