[
https://issues.apache.org/jira/browse/SLING-10648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17384822#comment-17384822
]
Carsten Ziegeler commented on SLING-10648:
------------------------------------------
I see, I think a general rule would be that only the feature that contains the
api can implement the provider type classes - so not even region bound
> API Regions: Support exposing a package but preventing extending classes or
> implementing interfaces from certain regions
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: SLING-10648
> URL: https://issues.apache.org/jira/browse/SLING-10648
> Project: Sling
> Issue Type: Improvement
> Components: Feature Model
> Affects Versions: Feature Model API Regions Extension 1.3.6
> Reporter: Konrad Windszus
> Priority: Major
>
> In some cases certain packages expose API interfaces which should not be
> implemented by any bundles outside the API region but still be exported for
> regular usage.
> This is similar to the annotation {{@ProviderType}} or {{@noimplement}} and
> {{@noextend}} from [Eclipse
> PDE|https://wiki.eclipse.org/PDE/API_Tools/Restrictions] but allows
> restricting to a certain context.
> This is triggered by the discussion in
> https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2648.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)