org.apache.felix.metatype.internal
Class MetaTypeInformationImpl
java.lang.Object
org.apache.felix.metatype.internal.MetaTypeInformationImpl
- All Implemented Interfaces:
- org.osgi.service.metatype.MetaTypeInformation, org.osgi.service.metatype.MetaTypeProvider
- Direct Known Subclasses:
- ServiceMetaTypeInformation
public class MetaTypeInformationImpl
- extends java.lang.Object
- implements org.osgi.service.metatype.MetaTypeInformation
The MetaTypeInformationImpl
class implements the
MetaTypeInformation
interface returned from the
MetaTypeService
.
- Author:
- fmeschbe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_FACTORYPID
public static final java.lang.String SERVICE_FACTORYPID
- See Also:
- Constant Field Values
MetaTypeInformationImpl
protected MetaTypeInformationImpl(org.osgi.framework.Bundle bundle)
getBundle
public org.osgi.framework.Bundle getBundle()
- Specified by:
getBundle
in interface org.osgi.service.metatype.MetaTypeInformation
getFactoryPids
public java.lang.String[] getFactoryPids()
- Specified by:
getFactoryPids
in interface org.osgi.service.metatype.MetaTypeInformation
getPids
public java.lang.String[] getPids()
- Specified by:
getPids
in interface org.osgi.service.metatype.MetaTypeInformation
getLocales
public java.lang.String[] getLocales()
- Specified by:
getLocales
in interface org.osgi.service.metatype.MetaTypeProvider
getObjectClassDefinition
public org.osgi.service.metatype.ObjectClassDefinition getObjectClassDefinition(java.lang.String id,
java.lang.String locale)
- Specified by:
getObjectClassDefinition
in interface org.osgi.service.metatype.MetaTypeProvider
addMetaData
protected void addMetaData(MetaData md)
addPids
protected void addPids(java.lang.String[] pids)
removePid
protected void removePid(java.lang.String pid)
addFactoryPids
protected void addFactoryPids(java.lang.String[] factoryPids)
removeFactoryPid
protected void removeFactoryPid(java.lang.String factoryPid)
addMetaTypeProvider
protected void addMetaTypeProvider(java.lang.String key,
org.osgi.service.metatype.MetaTypeProvider mtp)
removeMetaTypeProvider
protected org.osgi.service.metatype.MetaTypeProvider removeMetaTypeProvider(java.lang.String key)