David Bosschaert created FELIX-5564:
---------------------------------------

             Summary: @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


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)

Reply via email to