@Override
  public void updateObservers(ResourceProviderEvent event) {
    for (ResourceProviderObserver observer : observers) {
      observer.update(event);
    }
  }
Create a  new resource provider.

@param propertyIds     the property ids
@param keyPropertyIds  the key property ids
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractResourceProvider.java