com.atlassian.confluence.event
Class ConfluenceEventManager
java.lang.Object
com.atlassian.confluence.event.ConfluenceEventManager
- All Implemented Interfaces:
- com.atlassian.event.EventManager
Deprecated. Since 3.3, use ConfluenceEventPublisherManager
@Deprecated
public class ConfluenceEventManager
- extends java.lang.Object
- implements com.atlassian.event.EventManager
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 Summary |
ConfluenceEventManager(com.atlassian.event.EventManager delegateEventManager,
com.atlassian.event.legacy.SpringContextEventPublisher springContextEventPublisher)
Deprecated. |
Method Summary |
void |
publishEvent(com.atlassian.event.Event event)
Deprecated. |
void |
registerListener(java.lang.String key,
com.atlassian.event.EventListener eventListener)
Deprecated. |
void |
unregisterListener(java.lang.String key)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceEventManager
public ConfluenceEventManager(com.atlassian.event.EventManager delegateEventManager,
com.atlassian.event.legacy.SpringContextEventPublisher springContextEventPublisher)
- Deprecated.
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(java.lang.String key,
com.atlassian.event.EventListener eventListener)
- Deprecated.
- Specified by:
registerListener
in interface com.atlassian.event.EventManager
unregisterListener
public void unregisterListener(java.lang.String key)
- Deprecated.
- Specified by:
unregisterListener
in interface com.atlassian.event.EventManager
Copyright © 2003-2013 Atlassian. All Rights Reserved.