protected void notifyCreate(Resource.Type type, Request request) {
    updateObservers(new ResourceProviderEvent(type, ResourceProviderEvent.Type.Create, request, null));
  }
Notify all listeners of a creation event.

@param type     the type of the resources being created
@param request  the request used to create the resources
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractResourceProvider.java