Knopflerfish OSGi 4.0.1

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
Version:
$Id: a3c051c77e1450323620dc1c48681ef864e7e338 $
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 4.0.1