Closed arcane86 closed 12 years ago
See ServiceConsumingTest
@Publish public class C1 implements Itf { } @Publish public class C2 implements Itf { } @Inject @OSGiService Itf injected; //get C1 or C2
That's the point of OSGi services
Yep but i think that adding the CDI default @Default qualifier might be nice on unqualified auto-published service.
See ServiceConsumingTest