package org.inaetics.dronessimulator.drone;

import org.apache.felix.dm.Component;
import org.apache.felix.dm.DependencyActivatorBase;
import org.apache.felix.dm.DependencyManager;
import org.inaetics.dronessimulator.pubsub.api.publisher.Publisher;
import org.inaetics.dronessimulator.pubsub.api.subscriber.Subscriber;
import org.osgi.framework.BundleContext;

public class Activator extends DependencyActivatorBase {
    @Override
    public void init(BundleContext bundleContext, DependencyManager dependencyManager) throws Exception {
        System.out.println("Drone: Activator Started");
        dependencyManager.add(createComponent()
                .setInterface(Drone.class.getName(), null)
                .setImplementation(SimpleDrone.class)
                .add(createServiceDependency()
                        .setService(Publisher.class)
                        .setRequired(true)
                )
                .add(createServiceDependency()
                        .setService(Subscriber.class)
                        .setRequired(true)
                ).setCallbacks("init", "start", "stop", "destroy")
        );
    }
}
@@ -535,64 +535,8 @@
 n %7B%0A
-        System.out.println(%22Drone: Activator Started%22);%0A
     

Remove printline from Activator