Clement Escoffier created FELIX-4053: ----------------------------------------
Summary: Avoid @StaticServiceProperty to be used on classes Key: FELIX-4053 URL: https://issues.apache.org/jira/browse/FELIX-4053 Project: Felix Issue Type: Bug Components: iPOJO Affects Versions: ipojo-runtime-1.8.6 Reporter: Clement Escoffier Fix For: ipojo-runtime-1.10 The @StaticServiceProperty annotation is made to be used like this: @Component @Provides(properties = { @StaticServiceProperty(name="property", value="value", type = "java.lang.String") }) @Instantiate(name="instanceWithProperties") public class MyComponent { //... } It cannot be used on classes directory (as it's attached to a provided service). To avoid this mistake, we should set the `target` of the annotation to {}. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira