[
https://issues.apache.org/jira/browse/SLING-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger closed SLING-502.
-----------------------------------
Resolution: Fixed
Changed component factory declarations to manual in Rev. 662747.
This also required a modification to the RequestLoggerService: This service is
manually registered in the activate() method and unregistered in the
deactivate() method. Otherwise the component factory providing a service is not
loaded by the Apache Felix SCR 1.0.0 implementation.
> Disable SCR plugin for Factory Components
> -----------------------------------------
>
> Key: SLING-502
> URL: https://issues.apache.org/jira/browse/SLING-502
> Project: Sling
> Issue Type: Bug
> Components: Engine, JCR
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Priority: Blocker
> Fix For: 2.0.0
>
>
> The folloing Component Factories must be used with manually crafted service
> component descriptors for now:
> jcr/jackrabbit-server : SlingServerRepository
> jcr/jackrabbit-client : SlingClientRepository
> engine : RequestLoggerService
>
> The reason is compatibility with the fixes introduced with FELIX-593, which
> cause the Felix Declarative Services to act correctly.
> Because the current maven-scr-plugin incorrectly forces the immediate
> attribute to true we have to hand-craft descriptors which do not include the
> attribute to be compatible with the old Declarative Services implementation
> and the new implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.