Package aQute.bnd.metatype.annotations
Class MetaTypeConstants
- java.lang.Object
-
- aQute.bnd.metatype.annotations.MetaTypeConstants
-
class MetaTypeConstants extends java.lang.Object
The MetaType Service can be used to obtain meta type information for a bundle. The MetaType Service will examine the specified bundle for meta type documents to create the returnedMetaTypeInformation
object.If the specified bundle does not contain any meta type documents, then a
MetaTypeInformation
object will be returned that wrappers anyManagedService
orManagedServiceFactory
services registered by the specified bundle that implementMetaTypeProvider
. Thus the MetaType Service can be used to retrieve meta type information for bundles which contain a meta type documents or which provide their ownMetaTypeProvider
objects.- Since:
- 1.1
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description MetaTypeConstants()
-
-
-
Field Detail
-
METATYPE_DOCUMENTS_LOCATION
public static final java.lang.String METATYPE_DOCUMENTS_LOCATION
Location of meta type documents. The MetaType Service will process each entry in the meta type documents directory.- See Also:
- Constant Field Values
-
METATYPE_CAPABILITY_NAME
public static final java.lang.String METATYPE_CAPABILITY_NAME
Capability name for meta type document processors.Used in
Provide-Capability
andRequire-Capability
manifest headers with theosgi.extender
namespace. For example:Require-Capability: osgi.extender; filter:="(&(osgi.extender=osgi.metatype)(version>=1.4)(!(version>=2.0)))"
- Since:
- 1.3
- See Also:
- Constant Field Values
-
METATYPE_SPECIFICATION_VERSION
public static final java.lang.String METATYPE_SPECIFICATION_VERSION
Compile time constant for the Specification Version of MetaType Service.Used in
Version
andRequirement
annotations. The value of this compile time constant will change when the specification version of MetaType Service is updated.- Since:
- 1.4
- See Also:
- Constant Field Values
-
-