Class BatchingMultiEventPublisher5
java.lang.Object
com.atlassian.confluence.impl.event.BatchingMultiEventPublisher5
- All Implemented Interfaces:
com.atlassian.crowd.core.event.MultiEventPublisher,com.atlassian.event.api.EventListenerRegistrar,com.atlassian.event.api.EventPublisher
@ParametersAreNonnullByDefault
@ReturnValuesAreNonnullByDefault
public class BatchingMultiEventPublisher5
extends Object
implements com.atlassian.crowd.core.event.MultiEventPublisher
Replacement for
BatchingMultiEventPublisher due to Hibernate 2 removal.- Since:
- 7.16.0
-
Constructor Summary
ConstructorsConstructorDescriptionBatchingMultiEventPublisher5(HibernateSessionManager5 hibernateSessionManager, org.hibernate.SessionFactory sessionFactory, com.atlassian.event.api.EventPublisher delegate) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidpublishAll(Collection<Object> events) voidvoidunregister(Object listener) void
-
Constructor Details
-
BatchingMultiEventPublisher5
public BatchingMultiEventPublisher5(HibernateSessionManager5 hibernateSessionManager, org.hibernate.SessionFactory sessionFactory, com.atlassian.event.api.EventPublisher delegate)
-
-
Method Details
-
publishAll
- Specified by:
publishAllin interfacecom.atlassian.crowd.core.event.MultiEventPublisher
-
publish
- Specified by:
publishin interfacecom.atlassian.event.api.EventPublisher
-
register
- Specified by:
registerin interfacecom.atlassian.event.api.EventListenerRegistrar
-
unregister
- Specified by:
unregisterin interfacecom.atlassian.event.api.EventListenerRegistrar
-
unregisterAll
public void unregisterAll()- Specified by:
unregisterAllin interfacecom.atlassian.event.api.EventListenerRegistrar
-