[
https://issues.apache.org/jira/browse/OAK-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra updated OAK-1474:
----------------------------------
Description:
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.
{{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.
was:
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.
{{ConfigurationBase}} is not using any DS or metatype annotations and we should
just remove the annotation.
> ConfigurationBase must not use 'componentAbstract'
> --------------------------------------------------
>
> Key: OAK-1474
> URL: https://issues.apache.org/jira/browse/OAK-1474
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
>
> 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.
> {{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)