Hi,

We have a requirement where we need to interfere/stop the server start up,
if a certain condition is not fulfilled during the bundle startup.

For that. is it ok to use following approach inside the bundle service
component if the particular condition is not met?
bundleContext.getBundle(0).stop();

Or is there any other proper  approach we can use?

Thanks,

-- 
Denuwanthi De Silva
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to