@groovy.transform.Trait @groovy.transform.AutoFinal @groovy.transform.CompileStatic trait GormAnnotatedListener extends GormAnnotatedSubscriber
Marks a class as a synchronous listener of GORM events
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
dispatch(AbstractPersistenceEvent event)Dispatch the event to this listener |
|
boolean |
supports(AbstractPersistenceEvent event)Whether the listener supports the given event |
| Methods inherited from class | Name |
|---|---|
trait GormAnnotatedSubscriber |
getSubscribedEvents |
trait AnnotatedSubscriber |
getSubscribedMethods, registerMethods |
trait EventBusAware |
getEventBus, setTargetEventBus |
Dispatch the event to this listener
Whether the listener supports the given event
event - The event