private void postRecreate() { final EventListenerGroup<PostCollectionRecreateEventListener> listenerGroup = listenerGroup( EventType.POST_COLLECTION_RECREATE ); if ( listenerGroup.isEmpty() ) { return; } final PostCollectionRecreateEvent event = new PostCollectionRecreateEvent( getPersister(), getCollection(), eventSource() ); for ( PostCollectionRecreateEventListener listener : listenerGroup.listeners() ) { listener.onPostRecreateCollection( event ); } } }
private void postRecreate() { final EventListenerGroup<PostCollectionRecreateEventListener> listenerGroup = listenerGroup( EventType.POST_COLLECTION_RECREATE ); if ( listenerGroup.isEmpty() ) { return; } final PostCollectionRecreateEvent event = new PostCollectionRecreateEvent( getPersistentCollectionDescriptor(), getCollection(), eventSource() ); for ( PostCollectionRecreateEventListener listener : listenerGroup.listeners() ) { listener.onPostRecreateCollection( event ); } } }
private void postRecreate() { EventListenerGroup<PostCollectionRecreateEventListener> listenerGroup = listenerGroup( EventType.POST_COLLECTION_RECREATE ); if ( listenerGroup.isEmpty() ) { return; } final PostCollectionRecreateEvent event = new PostCollectionRecreateEvent( getPersister(), getCollection(), eventSource() ); for ( PostCollectionRecreateEventListener listener : listenerGroup.listeners() ) { listener.onPostRecreateCollection( event ); } } }
private void postRecreate() { EventListenerGroup<PostCollectionRecreateEventListener> listenerGroup = listenerGroup( EventType.POST_COLLECTION_RECREATE ); if ( listenerGroup.isEmpty() ) { return; } final PostCollectionRecreateEvent event = new PostCollectionRecreateEvent( getPersister(), getCollection(), eventSource() ); for ( PostCollectionRecreateEventListener listener : listenerGroup.listeners() ) { listener.onPostRecreateCollection( event ); } } }