[
https://issues.apache.org/jira/browse/FELIX-5346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15491525#comment-15491525
]
Pierre De Rop commented on FELIX-5346:
--------------------------------------
Hi Jago,
Annotations inheritance is not currently supported. So, it's not really a bug,
it's just that this feature is not implemented.
But, I think it's easy to support this, I will try to do it quickly.
Interestingly, there have been a lot of debates to support or not inheritance
for DS annotations. See [1] for example, where BJ Hargrave explains why some
problems may happen when the inherited class is not part of the bundle
containing the extension class.
Anyway, let's try to implement annotation inheritance ... will get back to you
soon.
[1]
http://stackoverflow.com/questions/19436799/calling-abstract-classes-activate-method-apache-felix
> Start annotation not propagated to sub classes
> ----------------------------------------------
>
> Key: FELIX-5346
> URL: https://issues.apache.org/jira/browse/FELIX-5346
> Project: Felix
> Issue Type: Bug
> Components: Dependency Manager Annotations
> Reporter: Jago de Vreede
>
> Following case in pseudocode:
> {code}Class A {
> @Start
> public void start() {
> System.out.println("start");
> }
> }
> @Component
> Class B extends A {
> }{code}
> When you run this nothing is printed but the start method in A should be
> called as B extends A.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)