com.atlassian.confluence.event
Class ConfluenceEventManager

java.lang.Object
  extended by com.atlassian.confluence.event.ConfluenceEventManager
All Implemented Interfaces:
com.atlassian.event.EventManager

Deprecated. Since 3.3, use ConfluenceEventPublisherManager

@Deprecated
public class ConfluenceEventManager
extends 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(String key, com.atlassian.event.EventListener eventListener)
          Deprecated.  
 void unregisterListener(String key)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2003–2015 Atlassian. All rights reserved.