org.apache.felix.metatype.internal
Class MetaTypeInformationImpl
java.lang.Object
org.apache.felix.metatype.internal.MetaTypeInformationImpl
- All Implemented Interfaces:
- MetaTypeInformation, MetaTypeProvider
- Direct Known Subclasses:
- ServiceMetaTypeInformation
public class MetaTypeInformationImpl
- extends Object
- implements 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 String SERVICE_FACTORYPID
- See Also:
- Constant Field Values
MetaTypeInformationImpl
protected MetaTypeInformationImpl(Bundle bundle)
getBundle
public Bundle getBundle()
- Specified by:
getBundle
in interface MetaTypeInformation
getFactoryPids
public String[] getFactoryPids()
- Specified by:
getFactoryPids
in interface MetaTypeInformation
getPids
public String[] getPids()
- Specified by:
getPids
in interface MetaTypeInformation
getLocales
public String[] getLocales()
- Specified by:
getLocales
in interface MetaTypeProvider
getObjectClassDefinition
public ObjectClassDefinition getObjectClassDefinition(String id,
String locale)
- Specified by:
getObjectClassDefinition
in interface MetaTypeProvider
addMetaData
protected void addMetaData(MetaData md)
addPids
protected void addPids(String[] pids)
removePid
protected void removePid(String pid)
addFactoryPids
protected void addFactoryPids(String[] factoryPids)
removeFactoryPid
protected void removeFactoryPid(String factoryPid)
addMetaTypeProvider
protected void addMetaTypeProvider(String key,
MetaTypeProvider mtp)
removeMetaTypeProvider
protected MetaTypeProvider removeMetaTypeProvider(String key)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.