Package io.micronaut.data.event
Interface PersistenceEventContext<T>
- Type Parameters:
T
- The generic type of the entity
- All Known Subinterfaces:
EntityEventContext<T>
,QueryEventContext<T>
- All Known Implementing Classes:
DefaultEntityEventContext
public interface PersistenceEventContext<T>
Context object for event receivers.
- Since:
- 2.3.0
- Author:
- graemerocher
-
Method Summary
-
Method Details
-
getPersistentEntity
RuntimePersistentEntity<T> getPersistentEntity()- Returns:
- The
RuntimePersistentEntity
associated with the entity
-