class AmbariServerConfigurationHandler extends RootServiceComponentConfigurationHandler {

  public Map<String, String> getConfigurationProperties(String categoryName) {
    Map<String, String> properties = null;

    List<AmbariConfigurationEntity> entities = ambariConfigurationDAO.findByCategory(categoryName);
    if (entities != null) {
      properties = new HashMap<>();
      for (AmbariConfigurationEntity entity : entities) {
        properties.put(entity.getPropertyName(), entity.getPropertyValue());
      }
    }

    return properties;
  }

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

}