Hello again,

Being in the final stage of development, I have one more question. My activation/deactivation facilities are the latter as shown:

protected void activate() {
        System.out.println("Bootstrap::Activation...");
        dataProcessor = getSensorDataProcessorBC();
        dbwrapper = getDBWrapperBC();
        fusion = null;
        commProxy=getCommunicationProxyBC();
        try {
BootstrapCoordinator service = new BootstrapCoordinator(dataProcessor, dbwrapper, fusion, commProxy);
            createExportedServices(service);
        } catch (BootstrapCoordinatorException e) {
            e.printStackTrace();
        }
}

    protected void deactivate() {
        System.out.println("Bootstrap::Deactivation...");
    }
I use 3 services, each one provided from three separate bundles. After activation of all three, my bundle is triggered and my facilities are constructed. I deactivate one of the three services. Bootstrap::Deactivation is printed on the stdout. Everything is going fine. After the reactivation, I expect to see my bundle's Bootstrap::Activation... string, but it seems that the activation method isn't re-executed.... Is there anything wrong at the above?

Thx,
Aggelos

--
Dept. of Informatics & Telecommunications, University of Athens
Athens, Greece
Gsm: +306942075153 / Skype: aggelos.mpimpoudis
email: a.mpimpoydhs [at] di.uoa.gr
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to