class AmbariServerConfigurationHandler extends RootServiceComponentConfigurationHandler {

  @Override
  public void removeComponentConfiguration(String categoryName) {
    if (null == categoryName) {
      LOGGER.debug("No resource id provided in the request");
    } else {
      LOGGER.debug("Deleting Ambari configuration with id: {}", categoryName);
      if (ambariConfigurationDAO.removeByCategory(categoryName) > 0) {
        publisher.publish(new AmbariConfigurationChangedEvent(categoryName));
      }
    }
  }

  @Inject  AmbariServerConfigurationHandler(AmbariConfigurationDAO ambariConfigurationDAO, AmbariEventPublisher publisher, Configuration ambariConfiguration);

}