Re: [Dev] OSGI bundle stopping mechanisms

2018-02-07 Thread Darshana Gunawardana
Hi Denuwanthi, It's depend on the bundle type.. For an example, Oauth is a core bundle for a product like IS. So the product should not start, if there are missing resources like required database schemas. Thanks, On Tue, Feb 6, 2018 at 11:47 AM, Danesh Kuruppu wrote: > Hi Denuwanthi, > > We

Re: [Dev] OSGI bundle stopping mechanisms

2018-02-05 Thread Danesh Kuruppu
Hi Denuwanthi, 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? > bundleCont

[Dev] OSGI bundle stopping mechanisms

2018-02-05 Thread Denuwanthi De Silva
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).sto