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