[
https://issues.apache.org/jira/browse/ARIES-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Terrien Jean-Yves updated ARIES-1802:
-------------------------------------
Description:
I've this annotation in my class
{code:java}
@ConfigProperties(
pid="my.system",
update=true
)
public void update (Map<String, String> map) throws Exception {{code}
but only services injection is producted
{code:java}
<bean xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
id="environnement"
class="fr.aphp.olympe.hermes.services.environnement.impl.EnvironmentImpl"
ext:field-injection="true" init-method="activate" destroy-method="destroy">
<property name="blueprintBundleContext" ref="bundleContext"/>
<property name="transactionManager" ref="transactionManager"/>
</bean>{code}
I would like to reproduce
{code:java}
<bean id="environnement"
class="fr.aphp.olympe.hermes.services.environnement.impl.EnvironmentImpl"
init-method="activate" destroy-method="destroy">
<cm:managed-properties update-strategy="component-managed"
persistent-id="my.system" update-method="update" />
<property name="bundleContext" ref="blueprintBundleContext" />
<property name="transactionManager" ref="transactionManager" />
</bean>
{code}
was:
I've this annotation in my class
{code:java}
@ConfigProperties(
pid="my.system",
update=true
){code}
public void update (Map<String, String> map) throws Exception {
but only services injection is producted
{code:java}
<bean xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
id="environnement"
class="fr.aphp.olympe.hermes.services.environnement.impl.EnvironmentImpl"
ext:field-injection="true" init-method="activate" destroy-method="destroy">
<property name="blueprintBundleContext" ref="bundleContext"/>
<property name="transactionManager" ref="transactionManager"/>
</bean>{code}
I would like to reproduce
{code:java}
<bean id="environnement"
class="fr.aphp.olympe.hermes.services.environnement.impl.EnvironmentImpl"
init-method="activate" destroy-method="destroy">
<cm:managed-properties update-strategy="component-managed"
persistent-id="my.system" update-method="update" />
<property name="bundleContext" ref="blueprintBundleContext" />
<property name="transactionManager" ref="transactionManager" />
</bean>
{code}
> ConfigProperties does not produce xml
> -------------------------------------
>
> Key: ARIES-1802
> URL: https://issues.apache.org/jira/browse/ARIES-1802
> Project: Aries
> Issue Type: Test
> Environment: Java 8
> {code:java}
> <groupId>org.apache.aries.blueprint</groupId>
> <artifactId>blueprint-maven-plugin</artifactId>
> <version>1.10.0</version>
> <executions>
> <execution>
> <goals>
> <goal>blueprint-generate</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <scanPaths>
> <scanPath>${scanPath}</scanPath>
> </scanPaths>
> </configuration>
> {code}
> Reporter: Terrien Jean-Yves
> Priority: Major
>
> I've this annotation in my class
> {code:java}
> @ConfigProperties(
> pid="my.system",
> update=true
> )
> public void update (Map<String, String> map) throws Exception {{code}
> but only services injection is producted
> {code:java}
> <bean
> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
> id="environnement"
> class="fr.aphp.olympe.hermes.services.environnement.impl.EnvironmentImpl"
> ext:field-injection="true" init-method="activate" destroy-method="destroy">
> <property name="blueprintBundleContext" ref="bundleContext"/>
> <property name="transactionManager" ref="transactionManager"/>
> </bean>{code}
> I would like to reproduce
> {code:java}
> <bean id="environnement"
> class="fr.aphp.olympe.hermes.services.environnement.impl.EnvironmentImpl"
> init-method="activate" destroy-method="destroy">
> <cm:managed-properties update-strategy="component-managed"
> persistent-id="my.system" update-method="update" />
> <property name="bundleContext" ref="blueprintBundleContext" />
> <property name="transactionManager" ref="transactionManager" />
> </bean>
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)