private void postUpdate() { final EventListenerGroup<PostCollectionUpdateEventListener> listenerGroup = listenerGroup( EventType.POST_COLLECTION_UPDATE ); if ( listenerGroup.isEmpty() ) { return; } final PostCollectionUpdateEvent event = new PostCollectionUpdateEvent( getPersister(), getCollection(), eventSource() ); for ( PostCollectionUpdateEventListener listener : listenerGroup.listeners() ) { listener.onPostUpdateCollection( event ); } } }
private void postUpdate() { EventListenerGroup<PostCollectionUpdateEventListener> listenerGroup = listenerGroup( EventType.POST_COLLECTION_UPDATE ); if ( listenerGroup.isEmpty() ) { return; } final PostCollectionUpdateEvent event = new PostCollectionUpdateEvent( getPersister(), getCollection(), eventSource() ); for ( PostCollectionUpdateEventListener listener : listenerGroup.listeners() ) { listener.onPostUpdateCollection( event ); } } }
private void postUpdate() { final EventListenerGroup<PostCollectionUpdateEventListener> listenerGroup = listenerGroup( EventType.POST_COLLECTION_UPDATE ); if ( listenerGroup.isEmpty() ) { return; } final PostCollectionUpdateEvent event = new PostCollectionUpdateEvent( getPersistentCollectionDescriptor(), getCollection(), eventSource() ); for ( PostCollectionUpdateEventListener listener : listenerGroup.listeners() ) { listener.onPostUpdateCollection( event ); } } }
private void postUpdate() { EventListenerGroup<PostCollectionUpdateEventListener> listenerGroup = listenerGroup( EventType.POST_COLLECTION_UPDATE ); if ( listenerGroup.isEmpty() ) { return; } final PostCollectionUpdateEvent event = new PostCollectionUpdateEvent( getPersister(), getCollection(), eventSource() ); for ( PostCollectionUpdateEventListener listener : listenerGroup.listeners() ) { listener.onPostUpdateCollection( event ); } } }