You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/06/03 12:38:44 UTC

[jira] Created: (SLING-502) Disable SCR plugin for Factory Components

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
        jcr/classloader       : RepositoryClassLoaderProviderImpl
        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.


[jira] Updated: (SLING-502) Disable SCR plugin for Factory Components

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-502:
------------------------------------

    Description: 
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.

  was:
The folloing Component Factories  must be used with manually crafted service component descriptors for now: 

        jcr/jackrabbit-server : SlingServerRepository
        jcr/jackrabbit-client : SlingClientRepository
        jcr/classloader       : RepositoryClassLoaderProviderImpl
        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.


Remove RepositoryClassloaderProviderImpl, this is a service factory not a component factory.

> 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.


[jira] Closed: (SLING-502) Disable SCR plugin for Factory Components

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ 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.