public class SmooksServiceFactory extends Object implements org.osgi.framework.ServiceFactory
ServiceFactory
implementation that
enables the creation of per-bundle SmooksOSGIFactory
implementations.
Constructor and Description |
---|
SmooksServiceFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration)
Will return a
SmooksOSGIFactory instance configured with the Bundle . |
void |
ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration,
Object service) |
public Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)
SmooksOSGIFactory
instance configured with the Bundle
.getService
in interface org.osgi.framework.ServiceFactory
bundle
- the OSGi bundle.registration
- the OSGi registration.SmooksOSGIFactory
that has been configured using the passed-in Bundle.public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, Object service)
ungetService
in interface org.osgi.framework.ServiceFactory
Copyright © 2020. All rights reserved.