@Override public void stop(final StopContext context) { SingletonProvider.reset(); }
/** * Called by the OSGi framework when this bundle is stopped. Resets the singleton provider. */ public void deactivate() { SingletonProvider.reset(); }
/** * Removes the SingletonProvider - we assume that no application is running anymore * in this application server when the deployer is uninstalled (shutdown) */ public void stop() { SingletonProvider.reset(); }
@Override public void stop(StopContext context) { SingletonProvider.reset(); }
public void stop(BundleContext context) throws Exception { SingletonProvider.reset(); }