You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/11/09 11:29:00 UTC

[jira] [Commented] (SLING-12026) Check for implementation/extension of provider types

    [ https://issues.apache.org/jira/browse/SLING-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784391#comment-17784391 ] 

Konrad Windszus commented on SLING-12026:
-----------------------------------------

[~cziegeler] Do you have a hint how to read the provider types from SLING-12135 in https://github.com/apache/sling-org-apache-sling-feature-analyser-classes/blob/fd19ce18ee05182023faacb2c1ff1bb8d253e13d/src/main/java/org/apache/sling/feature/analyser/task/classes/impl/CheckProviderTypeImplementations.java#L67? 

> Check for implementation/extension of provider types
> ----------------------------------------------------
>
>                 Key: SLING-12026
>                 URL: https://issues.apache.org/jira/browse/SLING-12026
>             Project: Sling
>          Issue Type: New Feature
>          Components: Feature Model Analyser
>    Affects Versions: Feature Model Analyser 2.0.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>
> OSGi distinguishes between [consumer|https://docs.osgi.org/javadoc/osgi.annotation/7.0.0/org/osgi/annotation/versioning/ConsumerType.html] and [provider|https://docs.osgi.org/javadoc/osgi.annotation/7.0.0/org/osgi/annotation/versioning/ProviderType.html] types (either interfaces or classes).
> Some bundles/features are only supposed to implement/extend consumer types in order to be more stable against API changes. There should be a feature model analyser enforcing this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)