Class AfterSaveEvent<E>

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent<E>
org.springframework.data.mongodb.core.mapping.event.AfterSaveEvent<E>
All Implemented Interfaces:
Serializable

public class AfterSaveEvent<E> extends MongoMappingEvent<E>
MongoMappingEvent triggered after save of a document.
Author:
Jon Brisbin, Christoph Strobl, Mark Paluch
See Also:
  • Constructor Details

    • AfterSaveEvent

      public AfterSaveEvent(E source, org.bson.Document document, String collectionName)
      Creates new AfterSaveEvent.
      Parameters:
      source - must not be null.
      document - must not be null.
      collectionName - must not be null.
      Since:
      1.8