Package com.atlassian.confluence.event
Class ConfluenceEventManager
- java.lang.Object
-
- com.atlassian.confluence.event.ConfluenceEventManager
-
- All Implemented Interfaces:
com.atlassian.event.EventManager
@Deprecated @ParametersAreNonnullByDefault @Transactional public class ConfluenceEventManager extends Object implements com.atlassian.event.EventManager
Deprecated.Since 3.3, useConfluenceEventPublisherManager
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 injectedEventPublisher
.
-
-
Constructor Summary
Constructors Constructor Description ConfluenceEventManager(com.atlassian.event.EventManager delegateEventManager, com.atlassian.event.legacy.SpringContextEventPublisher springContextEventPublisher)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
publishEvent(com.atlassian.event.Event event)
Deprecated.void
registerListener(String key, com.atlassian.event.EventListener eventListener)
Deprecated.void
unregisterListener(String key)
Deprecated.
-
-
-
Method Detail
-
publishEvent
public void publishEvent(com.atlassian.event.Event event)
Deprecated.- Specified by:
publishEvent
in interfacecom.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 interfacecom.atlassian.event.EventManager
-
unregisterListener
public void unregisterListener(String key)
Deprecated.- Specified by:
unregisterListener
in interfacecom.atlassian.event.EventManager
-
-