Inject component type managed service pid as a property value
-------------------------------------------------------------
Key: FELIX-1742
URL: https://issues.apache.org/jira/browse/FELIX-1742
Project: Felix
Issue Type: Improvement
Affects Versions: iPOJO-1.4.0
Reporter: Clement Escoffier
Fix For: iPOJO-1.6.0
When the managed service pid is set on the component type, it should be also
consider as a potential property value.
So:
@Component(manaagedservice="mypid")
public class MyClass {
@Property(name="managed.service.pid")
private String myPID; // will receive "mypid" or the instance configuration
property if override.
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.