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 java.lang.Object implements org.osgi.framework.ServiceFactoryTheScrMetaTypeProviderServiceFactoryis aServiceFactoryregistered on behalf ofScrConfigurationto create a metatype provider instance on demand once it is used by the Metatype Service.In contrast to the
ScrMetaTypeProviderclass, 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 Modifier and Type Field Description private ScrConfigurationscrConfiguration
-
Constructor Summary
Constructors Constructor Description ScrMetaTypeProviderServiceFactory(ScrConfiguration scrConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)voidungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, java.lang.Object service)
-
-
-
Field Detail
-
scrConfiguration
private final ScrConfiguration scrConfiguration
-
-
Constructor Detail
-
ScrMetaTypeProviderServiceFactory
public ScrMetaTypeProviderServiceFactory(ScrConfiguration scrConfiguration)
-
-
Method Detail
-
getService
public java.lang.Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)- Specified by:
getServicein interfaceorg.osgi.framework.ServiceFactory
-
ungetService
public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, java.lang.Object service)- Specified by:
ungetServicein interfaceorg.osgi.framework.ServiceFactory
-
-