org.springframework.data.mongodb.core.mapping.event
Class AbstractDeleteEvent<T>
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.mongodb.core.mapping.event.MongoMappingEvent<com.mongodb.DBObject>
org.springframework.data.mongodb.core.mapping.event.AbstractDeleteEvent<T>
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AfterDeleteEvent, BeforeDeleteEvent
public abstract class AbstractDeleteEvent<T>
- extends MongoMappingEvent<com.mongodb.DBObject>
Base class for delete events.
- Author:
- Martin Baumgartner
- See Also:
- Serialized Form
AbstractDeleteEvent
public AbstractDeleteEvent(com.mongodb.DBObject dbo,
Class<T> type)
- Creates a new
AbstractDeleteEvent for the given DBObject and type.
- Parameters:
dbo - must not be null.type - , possibly be null.
getType
public Class<T> getType()
- Returns the type for which the
AbstractDeleteEvent shall be invoked for.
- Returns:
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.