commit | f4789803e9d0541103e7d8ff9c2ddc687246772c | [log] [tgz] |
---|---|---|
author | David Bosschaert <bosschae@adobe.com> | Mon Nov 05 14:02:35 2018 +0000 |
committer | David Bosschaert <bosschae@adobe.com> | Mon Nov 05 14:02:35 2018 +0000 |
tree | 052f01c92bb0713065490063b8a7d8d32ee28557 | |
parent | 81398c270263b7d30bce75eb252b67935a1f02bc [diff] |
Some initial documentation on the apiregions extension.
This component contains extensions relating to the API Regions component. The following extensions are registered via the ServiceLoader mechanism:
org.apache.sling.feature.builder.MergeHandler
Merge handlers are called when features are merged during the aggregation process.
APIRegionMergeHandler
- This handler knows how to merge API Regions extensions and adds the org-feature
key to the api-regions
sections to record what feature this section originally belonged.
org.apache.sling.feature.builder.PostProcessHandler
PostProcessHandlers are called when a feature contains an api-regions
section.
BundleMappingHandler
- This handler creates a mapping file idbsnver.properties
that maps the Artifact ID to a bundle symbolic name and version. A tilde ~
is used in the value of the map to separate BSN and version.
BundleArtifactFeatureHandler
- This handler creates 3 mapping files: bundles.properties
: maps bundles to the original feature they were in. A bundle could be from more then one feature. features.properties
: maps features to regions. A feature can be in more than one region. regions.properties
: maps regions to packages. A region can expose more than one package.