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 forBatchingMultiEventPublisherdue to Hibernate 2 removal.- Since:
- 7.16.0
-
-
Constructor Summary
Constructors Constructor Description BatchingMultiEventPublisher5(HibernateSessionManager5 hibernateSessionManager, org.hibernate.SessionFactory sessionFactory, com.atlassian.event.api.EventPublisher delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpublish(Object event)voidpublishAll(Collection<Object> events)voidregister(Object listener)voidunregister(Object listener)voidunregisterAll()
-
-
-
Constructor Detail
-
BatchingMultiEventPublisher5
public BatchingMultiEventPublisher5(HibernateSessionManager5 hibernateSessionManager, org.hibernate.SessionFactory sessionFactory, com.atlassian.event.api.EventPublisher delegate)
-
-
Method Detail
-
publishAll
public void publishAll(Collection<Object> events)
- Specified by:
publishAllin interfacecom.atlassian.crowd.core.event.MultiEventPublisher
-
publish
public void publish(Object event)
- Specified by:
publishin interfacecom.atlassian.event.api.EventPublisher
-
register
public void register(Object listener)
- Specified by:
registerin interfacecom.atlassian.event.api.EventListenerRegistrar
-
unregister
public void unregister(Object listener)
- Specified by:
unregisterin interfacecom.atlassian.event.api.EventListenerRegistrar
-
unregisterAll
public void unregisterAll()
- Specified by:
unregisterAllin interfacecom.atlassian.event.api.EventListenerRegistrar
-
-