[
https://issues.apache.org/jira/browse/ARIES-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16486840#comment-16486840
]
Terrien Jean-Yves commented on ARIES-1802:
------------------------------------------
Hi,
Strange
in the source of the plugin we find
{code:java}
org.apache.aries.blueprint.plugin.spi.CustomDependencyAnnotationHandler{code}
which contains
{code:java}
org.apache.aries.blueprint.plugin.handlers.blueprint.config.ConfigPropertiesHandler{code}
and in the source code there is the
{code:java}
public class class ConfigPropertiesHandler implements
CustomDependencyAnnotationHandler <ConfigProperties> {{code}
It seems that it is rather a problem of use or link between the annotation and
the function
Bye
> 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)