package com.donaldw.pojosr.test.bundles.ipojocanary;

import org.apache.felix.ipojo.annotations.Component;
import org.apache.felix.ipojo.annotations.Instantiate;
import org.apache.felix.ipojo.annotations.Invalidate;
import org.apache.felix.ipojo.annotations.Validate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author donald-w
 */
@Instantiate()
@Component(name = "canary")
public class Canary {
    Logger logger = LoggerFactory.getLogger(Canary.class);

    @Validate
    public void validate() {
        logger.info("Here I am");
    }

    @Invalidate
    public void invalidate() {
        logger.info("There I was");
    }
}

@@ -540,17 +540,18 @@
 fo(%22
-Here I am
+Validating
 %22);%0A
@@ -629,19 +629,20 @@
 fo(%22
-There I was
+Invalidating
 %22);%0A

Change message