You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2014/02/28 17:58:28 UTC

[jira] [Resolved] (OAK-1474) ConfigurationBase must not use 'componentAbstract'

     [ https://issues.apache.org/jira/browse/OAK-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tobias Bocanegra resolved OAK-1474.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.19)
                   0.18

this is fixed.

> ConfigurationBase must not use 'componentAbstract'
> --------------------------------------------------
>
>                 Key: OAK-1474
>                 URL: https://issues.apache.org/jira/browse/OAK-1474
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Tobias Bocanegra
>            Assignee: Tobias Bocanegra
>             Fix For: 0.18
>
>
> the {{@Component(componentAbstract = true)}} annotation is deprecated because it is considered dangerous as it stipulates modular extensibility. the problem is that implementing components need to be re-analyzed by the scr plugin to react on eventual DS changes in the abstract component.
> {{org.apache.jackrabbit.oak.spi.security.ConfigurationBase}} is using the {{@Activate}} annotation which is a problem if overriding classes don't call super.activate(). I suggest to introduce a better mechanism to initialize the class.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)