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 forBatchingMultiEventPublisher
due 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 void
publish(Object event)
void
publishAll(Collection<Object> events)
void
register(Object listener)
void
unregister(Object listener)
void
unregisterAll()
-
-
-
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:
publishAll
in interfacecom.atlassian.crowd.core.event.MultiEventPublisher
-
publish
public void publish(Object event)
- Specified by:
publish
in interfacecom.atlassian.event.api.EventPublisher
-
register
public void register(Object listener)
- Specified by:
register
in interfacecom.atlassian.event.api.EventListenerRegistrar
-
unregister
public void unregister(Object listener)
- Specified by:
unregister
in interfacecom.atlassian.event.api.EventListenerRegistrar
-
unregisterAll
public void unregisterAll()
- Specified by:
unregisterAll
in interfacecom.atlassian.event.api.EventListenerRegistrar
-
-