MetaTypeInformation object.
If the specified bundle does not contain any meta type documents, then a
MetaTypeInformation object will be returned that wrappers any
ManagedService or ManagedServiceFactory services registered
by the specified bundle that implement MetaTypeProvider. Thus the
MetaType Service can be used to retrieve meta type information for bundles
which contain a meta type documents or which provide their own
MetaTypeProvider objects.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | METATYPE_CAPABILITY_NAME
Capability name for meta type document processors. |
| public static final String | METATYPE_DOCUMENTS_LOCATION
Location of meta type documents. |
| public static final String | METATYPE_SPECIFICATION_VERSION
Compile time constant for the Specification Version of MetaType Service. |
| Modifier and Type | Method and Description |
|---|---|
| public MetaTypeInformation | Returns: A MetaTypeInformation object for the specified bundle.The bundle for which meta type information is requested. bundle)Return the MetaType information for the specified bundle. |
| METATYPE_CAPABILITY_NAME | back to summary |
|---|---|
| public static final String METATYPE_CAPABILITY_NAME Capability name for meta type document processors.
Used in Require-Capability: osgi.extender; filter:="(&(osgi.extender=osgi.metatype)(version>=1.4)(!(version>=2.0)))"
| |
| METATYPE_DOCUMENTS_LOCATION | back to summary |
|---|---|
| public static final String METATYPE_DOCUMENTS_LOCATION Location of meta type documents. The MetaType Service will process each entry in the meta type documents directory. | |
| METATYPE_SPECIFICATION_VERSION | back to summary |
|---|---|
| public static final String METATYPE_SPECIFICATION_VERSION Compile time constant for the Specification Version of MetaType Service.
Used in
| |
| getMetaTypeInformation | back to summary |
|---|---|
| public MetaTypeInformation getMetaTypeInformation(Bundle bundle) Return the MetaType information for the specified bundle.
| |