class ScrMetaTypeProvider
extends java.lang.Object
implements org.osgi.service.metatype.MetaTypeProvider
ScrManagedServiceMetaTypeProvider
receives the Declarative
Services Runtime configuration (by extending the ScrManagedService
class.
This class is instantiated in a ServiceFactory manner by the
ScrManagedServiceServiceFactory
when the Configuration Admin service
implementation and API is available
Requires OSGi Metatype Service API available
ScrManagedServiceServiceFactory
Modifier and Type | Class and Description |
---|---|
private static class |
ScrMetaTypeProvider.AttributeDefinitionImpl |
Modifier and Type | Field and Description |
---|---|
private ScrConfiguration |
configuration |
Constructor and Description |
---|
ScrMetaTypeProvider(ScrConfiguration scrConfiguration) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getLocales() |
org.osgi.service.metatype.ObjectClassDefinition |
getObjectClassDefinition(java.lang.String id,
java.lang.String locale) |
private final ScrConfiguration configuration
public ScrMetaTypeProvider(ScrConfiguration scrConfiguration)
public java.lang.String[] getLocales()
getLocales
in interface org.osgi.service.metatype.MetaTypeProvider
MetaTypeProvider.getLocales()
public org.osgi.service.metatype.ObjectClassDefinition getObjectClassDefinition(java.lang.String id, java.lang.String locale)
getObjectClassDefinition
in interface org.osgi.service.metatype.MetaTypeProvider
MetaTypeProvider.getObjectClassDefinition(java.lang.String, java.lang.String)