org.apache.felix.metatype.internal
Class MetaTypeInformationImpl

java.lang.Object
  extended by 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

Field Summary
static String SERVICE_FACTORYPID
           
 
Constructor Summary
protected MetaTypeInformationImpl(Bundle bundle)
           
 
Method Summary
protected  void addFactoryPids(String[] factoryPids)
           
protected  void addMetaData(MetaData md)
           
protected  void addMetaTypeProvider(String key, MetaTypeProvider mtp)
           
protected  void addPids(String[] pids)
           
 Bundle getBundle()
           
 String[] getFactoryPids()
           
 String[] getLocales()
           
 ObjectClassDefinition getObjectClassDefinition(String id, String locale)
           
 String[] getPids()
           
protected  void removeFactoryPid(String factoryPid)
           
protected  MetaTypeProvider removeMetaTypeProvider(String key)
           
protected  void removePid(String pid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_FACTORYPID

public static final String SERVICE_FACTORYPID
See Also:
Constant Field Values
Constructor Detail

MetaTypeInformationImpl

protected MetaTypeInformationImpl(Bundle bundle)
Method Detail

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.