How to override bnd Require-Capability generated from DS annotation?
问题 I have a bundle with an "optional" Component : It should be started if at leat one service of type X exist, and deactivated when the last service is unregistered. This component is "optional": It doesn't matter if X is registered or not, or if my component is activated or not. It's just an helper for managing instances of X. My component is declared like this : @Component public class MyManager { @Reference(cardinality=AT_LEAST_ONE) public void addService(X service) { .. } } However, bnd