com.atlassian.bamboo.event
Class BambooEventManager

java.lang.Object
  extended by com.atlassian.bamboo.event.BambooEventManager
All Implemented Interfaces:
com.atlassian.event.EventManager
Direct Known Subclasses:
RemotableEventManager

Deprecated. since 3.0 use EventPublisher

@Deprecated
public class BambooEventManager
extends java.lang.Object
implements com.atlassian.event.EventManager

An event manager that runs InlineEventListener as it runs into them (will block other async calls) and all other listeners asynchronously


Constructor Summary
BambooEventManager(com.atlassian.event.api.EventPublisher eventPublisher)
          Deprecated.  
 
Method Summary
 void publishEvent(com.atlassian.event.Event event)
          Deprecated.  
 void registerListener(java.lang.String listenerKey, com.atlassian.event.EventListener listener)
          Deprecated.  
 void setDefaultListeners(java.util.Map<java.lang.String,com.atlassian.event.EventListener> listeners)
          Deprecated. Sets Default Listeners.
 void unregisterListener(java.lang.String listenerKey)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooEventManager

public BambooEventManager(com.atlassian.event.api.EventPublisher eventPublisher)
Deprecated. 
Method Detail

publishEvent

public void publishEvent(com.atlassian.event.Event event)
Deprecated. 
Specified by:
publishEvent in interface com.atlassian.event.EventManager

registerListener

public void registerListener(java.lang.String listenerKey,
                             com.atlassian.event.EventListener listener)
Deprecated. 
Specified by:
registerListener in interface com.atlassian.event.EventManager

unregisterListener

public void unregisterListener(java.lang.String listenerKey)
Deprecated. 
Specified by:
unregisterListener in interface com.atlassian.event.EventManager

setDefaultListeners

public void setDefaultListeners(@NotNull
                                java.util.Map<java.lang.String,com.atlassian.event.EventListener> listeners)
Deprecated. 
Sets Default Listeners. Required for compatibility between bamboos use of event 1.0 and 2.0

Parameters:
listeners -


Copyright © 2011 Atlassian. All Rights Reserved.