Package org.apache.felix.scr.impl.config
Class ScrMetaTypeProvider
- java.lang.Object
-
- org.apache.felix.scr.impl.config.ScrMetaTypeProvider
-
- All Implemented Interfaces:
org.osgi.service.metatype.MetaTypeProvider
class ScrMetaTypeProvider extends java.lang.Object implements org.osgi.service.metatype.MetaTypeProvider
TheScrManagedServiceMetaTypeProvider
receives the Declarative Services Runtime configuration (by extending theScrManagedService
class.This class is instantiated in a ServiceFactory manner by the
ScrManagedServiceServiceFactory
when the Configuration Admin service implementation and API is availableRequires OSGi Metatype Service API available
- See Also:
ScrManagedServiceServiceFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
ScrMetaTypeProvider.AttributeDefinitionImpl
-
Field Summary
Fields Modifier and Type Field Description private ScrConfiguration
configuration
-
Constructor Summary
Constructors Constructor Description ScrMetaTypeProvider(ScrConfiguration scrConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getLocales()
org.osgi.service.metatype.ObjectClassDefinition
getObjectClassDefinition(java.lang.String id, java.lang.String locale)
-
-
-
Field Detail
-
configuration
private final ScrConfiguration configuration
-
-
Constructor Detail
-
ScrMetaTypeProvider
public ScrMetaTypeProvider(ScrConfiguration scrConfiguration)
-
-
Method Detail
-
getLocales
public java.lang.String[] getLocales()
- Specified by:
getLocales
in interfaceorg.osgi.service.metatype.MetaTypeProvider
- See Also:
MetaTypeProvider.getLocales()
-
getObjectClassDefinition
public org.osgi.service.metatype.ObjectClassDefinition getObjectClassDefinition(java.lang.String id, java.lang.String locale)
- Specified by:
getObjectClassDefinition
in interfaceorg.osgi.service.metatype.MetaTypeProvider
- See Also:
MetaTypeProvider.getObjectClassDefinition(java.lang.String, java.lang.String)
-
-