You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2025/06/13 15:13:00 UTC

[jira] [Created] (SLING-12828) Register the Feature service as soon as the org.apache.sling.feature bundle is active

Robert Munteanu created SLING-12828:
---------------------------------------

             Summary: Register the Feature service as soon as the org.apache.sling.feature bundle is active
                 Key: SLING-12828
                 URL: https://issues.apache.org/jira/browse/SLING-12828
             Project: Sling
          Issue Type: Improvement
          Components: Feature Model
    Affects Versions: Feature Model Launcher 1.3.4
            Reporter: Robert Munteanu
            Assignee: Robert Munteanu


The feature launcher registers the Feature service after the framework is started ( see https://github.com/apache/sling-org-apache-sling-feature-launcher/blob/93fbb1a40e4454bc1f24b0be5c9f17ec129e23e3/src/main/java/org/apache/sling/feature/launcher/impl/launchers/AbstractRunner.java#L375 and https://github.com/apache/sling-org-apache-sling-feature-launcher/blob/93fbb1a40e4454bc1f24b0be5c9f17ec129e23e3/src/main/java/org/apache/sling/feature/launcher/impl/launchers/FrameworkRunner.java#L114 ).

The Feature service could be made available earlier, as soon as the {{org.apache.sling.feature}} bundle is active. This way, components consuming this service could be started earlier, removing various waiting times.



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