public class ScrMetaTypeProviderServiceFactory extends Object implements org.osgi.framework.ServiceFactory
ScrMetaTypeProviderServiceFactory is a ServiceFactory registered
on behalf of ScrConfiguration to create a metatype provider instance
on demand once it is used by the Metatype Service.
In contrast to the ScrMetaTypeProvider class, this class only requires
core OSGi API and thus may be instantiated without the MetaType Service API actually available
at the time of instantiation.
| Constructor and Description |
|---|
ScrMetaTypeProviderServiceFactory(ScrConfiguration scrConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration) |
void |
ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration,
Object service) |
public ScrMetaTypeProviderServiceFactory(ScrConfiguration scrConfiguration)
public Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)
getService in interface org.osgi.framework.ServiceFactorypublic void ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration registration,
Object service)
ungetService in interface org.osgi.framework.ServiceFactoryCopyright © 2006–2020 The Apache Software Foundation. All rights reserved.