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 Details

    • BatchingMultiEventPublisher5

      public BatchingMultiEventPublisher5(HibernateSessionManager5 hibernateSessionManager, org.hibernate.SessionFactory sessionFactory, com.atlassian.event.api.EventPublisher delegate)
  • Method Details

    • publishAll

      public void publishAll(Collection<Object> events)
      Specified by:
      publishAll in interface com.atlassian.crowd.core.event.MultiEventPublisher
    • publish

      public void publish(Object event)
      Specified by:
      publish in interface com.atlassian.event.api.EventPublisher
    • register

      public void register(Object listener)
      Specified by:
      register in interface com.atlassian.event.api.EventListenerRegistrar
    • unregister

      public void unregister(Object listener)
      Specified by:
      unregister in interface com.atlassian.event.api.EventListenerRegistrar
    • unregisterAll

      public void unregisterAll()
      Specified by:
      unregisterAll in interface com.atlassian.event.api.EventListenerRegistrar