@Test public void testRemovalFromBundleContext() { stopListening(); verifyShutdownHandlerIsRemovedAsBundleListener(); }
@PreDestroy public void stopListening() { this.context.removeBundleListener(this); }
SlingOsgiBundleShutdownHandler extends ContextShutdownHandler implements SynchronousBundleListener, BundleContextAware { @PreDestroy public void stopListening() { this.context.removeBundleListener(this); } }
SlingOsgiBundleShutdownHandler extends ContextShutdownHandler implements SynchronousBundleListener, BundleContextAware { @PreDestroy public void stopListening() { this.context.removeBundleListener(this); }  }
SlingOsgiBundleShutdownHandler extends ContextShutdownHandler implements SynchronousBundleListener, BundleContextAware { @PreDestroy public void stopListening() { this.context.removeBundleListener(this); }  @Override @Async void bundleChanged(BundleEvent event); @PostConstruct void startListening(); @PreDestroy void stopListening(); @Override void setBundleContext(BundleContext bundleContext); }
SlingOsgiBundleShutdownHandler extends ContextShutdownHandler implements SynchronousBundleListener, BundleContextAware { @PreDestroy public void stopListening() { this.context.removeBundleListener(this); }  @Override @Async void bundleChanged(BundleEvent event); @PostConstruct void startListening(); @PreDestroy void stopListening(); @Override void setBundleContext(BundleContext bundleContext);  }