/** {@inheritDoc} */
  @Override
  public void disabled() {
    super.disabled();

    final Bundle bundle = ((OsgiPlugin) getPlugin()).getBundle();
    final OsgiConfigurationProvider provider = OsgiConfigurationProvider.getInstance();
    if (provider != null) {
      provider.onBundleStopped(bundle);
    }
  }
  /** {@inheritDoc} */
  @Override
  public void enabled() {
    super.enabled();

    final Bundle bundle = ((OsgiPlugin) getPlugin()).getBundle();
    final OsgiConfigurationProvider provider = OsgiConfigurationProvider.getInstance();
    if (provider != null) {
      provider.loadConfigFromBundle(bundle);
    }
  }