You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Andrea Leofreddi (JIRA)" <ji...@apache.org> on 2016/10/17 21:24:58 UTC
[jira] [Commented] (FELIX-5346) Start annotation not propagated to
sub classes
[ https://issues.apache.org/jira/browse/FELIX-5346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583524#comment-15583524 ]
Andrea Leofreddi commented on FELIX-5346:
-----------------------------------------
It would be very useful to have it working with other annotations as well, like @ServiceDependency
> Start annotation not propagated to sub classes
> ----------------------------------------------
>
> Key: FELIX-5346
> URL: https://issues.apache.org/jira/browse/FELIX-5346
> Project: Felix
> Issue Type: Improvement
> Components: Dependency Manager Annotations
> Affects Versions: org.apache.felix.dependencymanager-r1
> Reporter: Jago de Vreede
> Assignee: Pierre De Rop
> Fix For: org.apache.felix.dependencymanager-r9
>
>
> 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)