class MetaTypeConstants
extends java.lang.Object
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 |
---|---|
static java.lang.String |
METATYPE_CAPABILITY_NAME
Capability name for meta type document processors.
|
static java.lang.String |
METATYPE_DOCUMENTS_LOCATION
Location of meta type documents.
|
static java.lang.String |
METATYPE_SPECIFICATION_VERSION
Compile time constant for the Specification Version of MetaType Service.
|
Constructor and Description |
---|
MetaTypeConstants() |
public static final java.lang.String METATYPE_DOCUMENTS_LOCATION
public static final java.lang.String METATYPE_CAPABILITY_NAME
Used in Provide-Capability
and Require-Capability
manifest headers with the osgi.extender
namespace. For example:
Require-Capability: osgi.extender; filter:="(&(osgi.extender=osgi.metatype)(version>=1.4)(!(version>=2.0)))"
public static final java.lang.String METATYPE_SPECIFICATION_VERSION
Used in Version
and Requirement
annotations. The value of
this compile time constant will change when the specification version of
MetaType Service is updated.