org.springframework.data.mongodb.core.mapping.event

Class BeforeConvertEvent<T>

  • All Implemented Interfaces:
    Serializable


    public class BeforeConvertEvent<T>
    extends MongoMappingEvent<T>
    Event being thrown before a domain object is converted to be persisted.
    Author:
    Jon Brisbin, Oliver Gierke, Christoph Strobl, Mark Paluch
    See Also:
    Serialized Form
    • Constructor Detail

      • BeforeConvertEvent

        public BeforeConvertEvent(T source,
                                  String collectionName)
        Creates new BeforeConvertEvent.
        Parameters:
        source - must not be null.
        collectionName - must not be null.
        Since:
        1.8