@Test public void testRegistrationAsBundleListener() { verifyJsonViewServletsIsAddedAsBundleListener(); deactivate(); verifyJsonViewServletsAreRemovedAsBundleListener(); }
@Deactivate protected void deactivate() { this.context.getBundleContext().removeBundleListener(this); }
JsonViewServlets extends SlingAllMethodsServlet implements BundleListener { @Deactivate protected void deactivate() { this.context.getBundleContext().removeBundleListener(this); } }
JsonViewServlets extends SlingAllMethodsServlet implements BundleListener { @Deactivate protected void deactivate() { this.context.getBundleContext().removeBundleListener(this); }  }
JsonViewServlets extends SlingAllMethodsServlet implements BundleListener { @Deactivate protected void deactivate() { this.context.getBundleContext().removeBundleListener(this); }  void refresh(); @Override void init(); @Override void destroy(); @Override void bundleChanged(BundleEvent event); }
JsonViewServlets extends SlingAllMethodsServlet implements BundleListener { @Deactivate protected void deactivate() { this.context.getBundleContext().removeBundleListener(this); }  void refresh(); @Override void init(); @Override void destroy(); @Override void bundleChanged(BundleEvent event);  }