Package com.atlassian.crowd.core.event
Interface MultiEventPublisher
- All Superinterfaces:
com.atlassian.event.api.EventListenerRegistrar
,com.atlassian.event.api.EventPublisher
- All Known Implementing Classes:
DelegatingMultiEventPublisher
,TransactionAwareEventPublisher
public interface MultiEventPublisher
extends com.atlassian.event.api.EventPublisher
An extension to
EventPublisher
that allows special handling for sets of many events sent at the same time.-
Method Summary
Modifier and TypeMethodDescriptionvoid
publishAll
(Collection<Object> events) Publish events that will be consumed by their respective registered listeners.Methods inherited from interface com.atlassian.event.api.EventListenerRegistrar
register, unregister, unregisterAll
Methods inherited from interface com.atlassian.event.api.EventPublisher
publish
-
Method Details
-
publishAll
Publish events that will be consumed by their respective registered listeners. This should be equivalent with callingEventPublisher.publish(Object)
for every event in the collection.
-