@groovy.transform.CompileStatic class ValidationEventListener extends AbstractPersistenceEventListener
An event listener for ensuring entities are valid before saving or updating
Fields inherited from class | Fields |
---|---|
class AbstractPersistenceEventListener |
datastore |
Constructor and description |
---|
ValidationEventListener
(Datastore datastore) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
onPersistenceEvent(AbstractPersistenceEvent event) |
|
boolean |
supportsEventType(java.lang.Class<? extends org.springframework.context.ApplicationEvent> eventType) |
Methods inherited from class | Name |
---|---|
class AbstractPersistenceEventListener |
getOrder, isValidSource, onApplicationEvent, onPersistenceEvent, supportsSourceType |