Пример #1
0
  @Override
  public void start(BundleContext bc) {
    super.start(bc);

    Dictionary props = new Properties();
    bc.registerService(ScmService.class.getName(), new BrowseScmService(), props);
  }
Пример #2
0
  @Override
  public void stop(BundleContext bc) throws Exception {
    super.stop(bc);

    updater.stop();
  }