[ https://issues.apache.org/jira/browse/FELIX-5564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bosschaert closed FELIX-5564. ----------------------------------- Resolution: Works for Me > @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)