Knopflerfish OSGi 5.2.0

org.osgi.service.metatype
Interface MetaTypeInformation

All Superinterfaces:
MetaTypeProvider
All Known Implementing Classes:
BundleMetaTypeResource, MTP, SystemMetatypeProvider

public interface MetaTypeInformation
extends MetaTypeProvider

A MetaType Information object is created by the MetaTypeService to return meta type information for a specific bundle.

Since:
1.1
Author:
$Id: 5d795691070f69f49d88c1930f811b7b90210848 $
ThreadSafe
Consumers of this API must not implement this interface

Field Summary
 
Fields inherited from interface org.osgi.service.metatype.MetaTypeProvider
METATYPE_FACTORY_PID, METATYPE_PID
 
Method Summary
 Bundle getBundle()
          Return the bundle for which this object provides meta type information.
 java.lang.String[] getFactoryPids()
          Return the Factory PIDs (for ManagedServiceFactories) for which ObjectClassDefinition information is available.
 java.lang.String[] getPids()
          Return the PIDs (for ManagedServices) for which ObjectClassDefinition information is available.
 
Methods inherited from interface org.osgi.service.metatype.MetaTypeProvider
getLocales, getObjectClassDefinition
 

Method Detail

getPids

java.lang.String[] getPids()
Return the PIDs (for ManagedServices) for which ObjectClassDefinition information is available.

Returns:
Array of PIDs.

getFactoryPids

java.lang.String[] getFactoryPids()
Return the Factory PIDs (for ManagedServiceFactories) for which ObjectClassDefinition information is available.

Returns:
Array of Factory PIDs.

getBundle

Bundle getBundle()
Return the bundle for which this object provides meta type information.

Returns:
Bundle for which this object provides meta type information.

Knopflerfish OSGi 5.2.0