...
Publishing a Bean as OSGi Service with bundle scope
Info |
---|
Since Pax CDI 0.9.0 |
Code Block |
---|
@OsgiServiceProvider @BundleScoped public class ChocolateService implements IceCreamService { } |
Publishing a Bean as OSGi Service with prototype scope
Info |
---|
Since Pax CDI 0.9.0 |
Code Block |
---|
@OsgiServiceProvider @PrototypeScoped public class ChocolateService implements IceCreamService { } |
...