com.atlassian.bamboo.event.spi
Class BambooEventManager

java.lang.Object
  extended by com.atlassian.bamboo.event.spi.BambooEventManager
All Implemented Interfaces:
com.atlassian.event.EventManager

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 registerLegacyListeners()
          Deprecated. Registers Default Listeners.
 void registerListener(java.lang.String listenerKey, com.atlassian.event.EventListener listener)
          Deprecated.  
 void setLegacyListeners(java.util.List<java.lang.Object> 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

registerLegacyListeners

public void registerLegacyListeners()
Deprecated. 
Registers Default Listeners. Required for compatibility between Bamboo's use of event 1.0 and 2.0


setLegacyListeners

public void setLegacyListeners(@NotNull
                               java.util.List<java.lang.Object> listeners)
Deprecated. 
Sets Default Listeners. Required for compatibility between bamboos use of event 1.0 and 2.0

Parameters:
listeners -


Copyright © 2012 Atlassian. All Rights Reserved.