Eric Norman created SLING-11531:
-----------------------------------
Summary: add RequestParameter factory to Builders
Key: SLING-11531
URL: https://issues.apache.org/jira/browse/SLING-11531
Project: Sling
Issue Type: Improvement
Reporter: Eric Norman
Assignee: Eric Norman
Fix For: API 2.26.2
As discussed at SLING-11525
Expected:
Add a newRequestParameter factory method to the
[Builders|https://github.com/apache/sling-org-apache-sling-api/blob/master/src/main/java/org/apache/sling/api/request/builder/Builders.java]
class from sling.api so the duplicated RequestParameterImpl class can be
removed from the org.apache.sling.jcr.jackrabbit.usermanager bundle and use the
new factory instead.
The motivation for this is to remove the tight coupling of the
org.apache.sling.api.request package between the sling.api and usemanager
bundles that is caused by implementing The RequestParameter interface that has
been annotated as a ProviderType.
Without this change, every time that the exported version number of the
o.a.sling.api.request package changes, the usermanager must bump the version of
the dependency and release a new usermanger version to satisfy the narrow
version range that was being imported for that package.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)