[
https://issues.apache.org/jira/browse/ARIES-1400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kolja Poschner updated ARIES-1400:
----------------------------------
Description:
Properties defined in the service-properties are not available in the service
during runtime (initial and when updated)...
{code}
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0">
<cm:managed-service-factory factory-pid="some.pid"
interface="some.api.ServiceInterface">
<service-properties>
<entry key="some.service.property.key"
value="default.service.property.value" />
<cm:cm-properties persistent-id="" update="true" />
</service-properties>
<cm:managed-component class="some.impl.ServiceImpl" init-method="start"
destroy-method="stop">
</cm:managed-component>
</cm:managed-service-factory>
</blueprint>
{code}
was:
Properties defined in the service-properties are not available (initial and
when updated)...
{code}
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0">
<cm:managed-service-factory factory-pid="some.pid"
interface="some.api.ServiceInterface">
<service-properties>
<entry key="some.service.property.key"
value="default.service.property.value" />
<cm:cm-properties persistent-id="" update="true" />
</service-properties>
<cm:managed-component class="some.impl.ServiceImpl" init-method="start"
destroy-method="stop">
</cm:managed-component>
</cm:managed-service-factory>
</blueprint>
{code}
> service-properties in cm:managed-service-factory are not available
> ------------------------------------------------------------------
>
> Key: ARIES-1400
> URL: https://issues.apache.org/jira/browse/ARIES-1400
> Project: Aries
> Issue Type: Bug
> Components: Blueprint
> Reporter: Kolja Poschner
>
> Properties defined in the service-properties are not available in the service
> during runtime (initial and when updated)...
> {code}
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
> xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0">
> <cm:managed-service-factory factory-pid="some.pid"
> interface="some.api.ServiceInterface">
>
> <service-properties>
> <entry key="some.service.property.key"
> value="default.service.property.value" />
> <cm:cm-properties persistent-id="" update="true" />
> </service-properties>
>
> <cm:managed-component class="some.impl.ServiceImpl"
> init-method="start"
> destroy-method="stop">
> </cm:managed-component>
>
> </cm:managed-service-factory>
> </blueprint>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)