|tagger||David Bosschaert <firstname.lastname@example.org>||Fri Apr 12 09:46:29 2019 +0100|
[maven-release-plugin] copy for tag org.apache.sling.feature.apiregions-1.0.0
|author||David Bosschaert <email@example.com>||Fri Apr 12 09:46:15 2019 +0100|
|committer||David Bosschaert <firstname.lastname@example.org>||Fri Apr 12 09:46:15 2019 +0100|
[maven-release-plugin] prepare release org.apache.sling.feature.apiregions-1.0.0
The API Regions runtime component is implemented as an OSGi Framework Extension bundle. This ensures that the runtime component is always present early in the startup process.
This component registers an OSGi resolver hook service which enforces the API regions at runtime. The component looks for properties files that provide the configuration of the API regions. The properties files are generated by the https://github.com/apache/sling-org-apache-sling-feature-extension-apiregions component during the extension post-processing.
As the component has no dependencies on any other component, the properties files are obtained via Framework Properties lookups:
sling.feature.apiregions.resource.idbsnver.properties- provides the location of the
sling.feature.apiregions.resource.bundles.properties- provides the location of the
sling.feature.apiregions.resource.features.properties- provides the location of the
sling.feature.apiregions.resource.regions.properties- provides the location of the
Alternatively, the directory where all of the above files can be found can be specified using one Framework Property instead of using the above framework properties:
sling.feature.apiregions.location- provides the location where all properties file can be found. If this property is specified the above properties are not necessary. However if both are provided the file-specific properties take precedence.
File locations are either provided as an absolute file path or by URL. The URL handling mechanism supports one special pseudo-protocol:
classloader://. URLs specified with this protocol are passed through the framework classloader's
getResource() method to obtain the actual URL.
The component is enabled by setting the following framework property:
If this framework property is not set the component will be disabled.