Package org.apache.felix.scr.impl.config
Class ScrMetaTypeProviderServiceFactory
java.lang.Object
org.apache.felix.scr.impl.config.ScrMetaTypeProviderServiceFactory
- All Implemented Interfaces:
org.osgi.framework.ServiceFactory
public class ScrMetaTypeProviderServiceFactory
extends Object
implements org.osgi.framework.ServiceFactory
The
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetService
(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration) void
ungetService
(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, Object service)
-
Field Details
-
scrConfiguration
-
-
Constructor Details
-
ScrMetaTypeProviderServiceFactory
-
-
Method Details
-
getService
public Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration) - Specified by:
getService
in interfaceorg.osgi.framework.ServiceFactory
-
ungetService
public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, Object service) - Specified by:
ungetService
in interfaceorg.osgi.framework.ServiceFactory
-