Dispatches GORM events to the EventBus
Modifiers | Name | Description |
---|---|---|
protected EventBus |
eventBus |
|
protected boolean |
hasEventSubscribers |
|
protected boolean |
hasListeners |
|
protected java.util.Set<java.lang.Class<? extends AbstractPersistenceEvent>> |
listenedForEvents |
|
protected java.util.List<GormAnnotatedListener> |
listeners |
|
protected java.util.Map<java.lang.Class<? extends AbstractPersistenceEvent>, java.lang.String> |
subscribedEvents |
Constructor and description |
---|
GormEventDispatcher
(EventBus eventBus, Datastore datastore, java.util.Set<java.lang.Class<? extends AbstractPersistenceEvent>> subscribedEvents, java.util.List<GormAnnotatedListener> listeners) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
onPersistenceEvent(AbstractPersistenceEvent event) |
|
boolean |
supportsEventType(java.lang.Class<? extends ApplicationEvent> aClass) |
|
boolean |
supportsSourceType(java.lang.Class<?> sourceType) |