Class ConfluenceEventManager

  • All Implemented Interfaces:
    com.atlassian.event.EventManager

    @Deprecated
    @ParametersAreNonnullByDefault
    @Transactional
    public class ConfluenceEventManager
    extends Object
    implements com.atlassian.event.EventManager
    Deprecated.
    Specialised event manager that swallows any exceptions thrown during event processing except for those that extend ConfluenceEventPropagatingException. Exceptions will be logged at ERROR level.

    Delegates to the LegacyEventManager from atlassian-events, this in turn delegates to the injected EventPublisher.

    • Constructor Detail

      • ConfluenceEventManager

        public ConfluenceEventManager​(com.atlassian.event.EventManager delegateEventManager,
                                      com.atlassian.event.legacy.SpringContextEventPublisher springContextEventPublisher)
        Deprecated.
    • Method Detail

      • publishEvent

        public void publishEvent​(com.atlassian.event.Event event)
        Deprecated.
        Specified by:
        publishEvent in interface com.atlassian.event.EventManager
        Throws:
        ConfluenceEventPropagatingException - if any of the listeners throw such an exception.
        See Also:
        EventManager.publishEvent(com.atlassian.event.Event)
      • registerListener

        public void registerListener​(String key,
                                     com.atlassian.event.EventListener eventListener)
        Deprecated.
        Specified by:
        registerListener in interface com.atlassian.event.EventManager
      • unregisterListener

        public void unregisterListener​(String key)
        Deprecated.
        Specified by:
        unregisterListener in interface com.atlassian.event.EventManager