[
https://issues.apache.org/jira/browse/FELIX-5564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15885529#comment-15885529
]
David Bosschaert commented on FELIX-5564:
-----------------------------------------
It seems like this got fixed betweem 2.0.6 and 2.0.8 because with 2.0.8 it
works for me too.
> @Deactivate method with int reason and component property type annotation
> does not get called
> ---------------------------------------------------------------------------------------------
>
> Key: FELIX-5564
> URL: https://issues.apache.org/jira/browse/FELIX-5564
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-2.0.6
> Reporter: David Bosschaert
> Assignee: Carsten Ziegeler
>
> I can have @Deactivate method with a component property type (annotation)
> like this:
> {code}@Deactivate
> private void deactivate(Config myCfg){code}
> I can also have a @Deactivate method with an int reason like this:
> {code}@Deactivate
> private void deactivate(int reason){code}
> Both of these work.
> However combining these does not work:
> {code}@Deactivate
> private void deactivate(int reason, Config myCfg){code}
> In this case my deactivate method never gets called.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)