Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5380 from bjhargrave/docs-metatypeannotations
docs: Fix documentation for Metatype annotation processing instructions
- Loading branch information
Showing
7 changed files
with
35 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: default | ||
class: Builder | ||
title: -metatypeannotations-options SELECTORS | ||
summary: Restricts the use of Metatype Annotation to a minimum version. | ||
--- | ||
|
||
```properties | ||
-metatypeannotations-options: version;minimum=1.2.0 | ||
``` | ||
|
||
Analogous to `-dsannotations-options`, this will also restrict the use of OSGi Metatype annotations to minimum 1.2.0 version. The version number denotes that the users can use any version equal to or higher than 1.2.0, provided that the users have the Metatype annotations included on the build path. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
layout: default | ||
class: Builder | ||
title: -metatypeannotations SELECTORS | ||
summary: Selects the packages that need processing for standard OSGi Metatype annotations. | ||
--- | ||
|
||
The `-metatypeannotations` instruction tells **bnd** which bundle classes, if any, to search for [Metatype Service](https://osgi.org/specification/osgi.cmpn/7.0.0/service.metatype.html) annotations. **bnd** will then process those classes into Metatype XML resources. | ||
|
||
The value of this instruction is a comma delimited list of fully qualified class names. | ||
|
||
The default value of this instruction is `*`, which means that by default **bnd** will process all bundle classes looking for Metatype annotations. | ||
|
||
The behavior of Metatype annotation processing can be further configured using the [-metatypeannotations-options](metatypeannotations-options.html) instruction. | ||
|
||
[source](https://github.com/bndtools/bnd/blob/master/biz.aQute.bndlib/src/aQute/bnd/metatype/MetatypeAnnotations.java) |