Packageorg.springextensions.actionscript.eventbus.impl
Classpublic class DefaultEventBusUserRegistry
InheritanceDefaultEventBusUserRegistry Inheritance Object
Implements IEventBusUserRegistry, org.as3commons.eventbus.IEventBusAware, org.as3commons.lang.IDisposable



Public Properties
 PropertyDefined By
  eventBus : IEventBus
DefaultEventBusUserRegistry
  eventBusRegistryEntryCache : Dictionary
[read-only]
DefaultEventBusUserRegistry
  isDisposed : Boolean
[read-only]
DefaultEventBusUserRegistry
Public Methods
 MethodDefined By
  
DefaultEventBusUserRegistry(eventBus:IEventBus)
DefaultEventBusUserRegistry
  
addEventClassInterceptor(eventClass:Class, interceptor:IEventInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
addEventClassListenerInterceptor(eventClass:Class, interceptor:IEventListenerInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
addEventClassListenerProxy(eventClass:Class, proxy:MethodInvoker, useWeakReference:Boolean = false, topic:Object = null):Boolean
DefaultEventBusUserRegistry
  
addEventInterceptor(type:String, interceptor:IEventInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
addEventListenerInterceptor(type:String, interceptor:IEventListenerInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
addEventListenerProxy(type:String, proxy:MethodInvoker, useWeakReference:Boolean = false, topic:Object = null):Boolean
DefaultEventBusUserRegistry
  
addEventListeners(eventDispatcher:IEventDispatcher, eventTypes:Vector.<String>, topics:Array):void
DefaultEventBusUserRegistry
  
addInterceptor(interceptor:IEventInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
addListenerInterceptor(interceptor:IEventListenerInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
dispose():void
DefaultEventBusUserRegistry
  
removeEventClassInterceptor(eventClass:Class, interceptor:IEventInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
removeEventClassListenerInterceptor(eventClass:Class, interceptor:IEventListenerInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
removeEventClassListenerProxy(eventClass:Class, proxy:MethodInvoker, topic:Object = null):void
DefaultEventBusUserRegistry
  
removeEventInterceptor(type:String, interceptor:IEventInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
removeEventListenerInterceptor(type:String, interceptor:IEventListenerInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
removeEventListenerProxy(type:String, proxy:MethodInvoker, topic:Object = null):void
DefaultEventBusUserRegistry
  
removeEventListeners(eventDispatcher:IEventDispatcher):void
Removes all the event listeners that were added to the specified IEventDispatcher.
DefaultEventBusUserRegistry
  
removeInterceptor(interceptor:IEventInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
removeListenerInterceptor(interceptor:IEventListenerInterceptor, topic:Object = null):void
DefaultEventBusUserRegistry
  
rerouteToEventBus(event:Event):void
DefaultEventBusUserRegistry
Protected Methods
 MethodDefined By
  
findProxy(proxy:MethodInvoker, proxies:Vector.<MethodInvoker>):MethodInvoker
DefaultEventBusUserRegistry
  
initEventBusRegistry(eventBus:IEventBus):void
Initializes the current DefaultEventBusUserRegistry.
DefaultEventBusUserRegistry
  
removeEventClassListener(eventClass:Class, handler:Function = null):void
DefaultEventBusUserRegistry
  
removeEventListener(eventName:String, handler:Function = null):void
DefaultEventBusUserRegistry
Property Detail
eventBusproperty
eventBus:IEventBus


Implementation
    public function get eventBus():IEventBus
    public function set eventBus(value:IEventBus):void
eventBusRegistryEntryCacheproperty 
eventBusRegistryEntryCache:Dictionary  [read-only]


Implementation
    public function get eventBusRegistryEntryCache():Dictionary
isDisposedproperty 
isDisposed:Boolean  [read-only]


Implementation
    public function get isDisposed():Boolean
Constructor Detail
DefaultEventBusUserRegistry()Constructor
public function DefaultEventBusUserRegistry(eventBus:IEventBus)



Parameters
eventBus:IEventBus
Method Detail
addEventClassInterceptor()method
public function addEventClassInterceptor(eventClass:Class, interceptor:IEventInterceptor, topic:Object = null):void

Parameters

eventClass:Class
 
interceptor:IEventInterceptor
 
topic:Object (default = null)

addEventClassListenerInterceptor()method 
public function addEventClassListenerInterceptor(eventClass:Class, interceptor:IEventListenerInterceptor, topic:Object = null):void

Parameters

eventClass:Class
 
interceptor:IEventListenerInterceptor
 
topic:Object (default = null)

addEventClassListenerProxy()method 
public function addEventClassListenerProxy(eventClass:Class, proxy:MethodInvoker, useWeakReference:Boolean = false, topic:Object = null):Boolean

Parameters

eventClass:Class
 
proxy:MethodInvoker
 
useWeakReference:Boolean (default = false)
 
topic:Object (default = null)

Returns
Boolean
addEventInterceptor()method 
public function addEventInterceptor(type:String, interceptor:IEventInterceptor, topic:Object = null):void

Parameters

type:String
 
interceptor:IEventInterceptor
 
topic:Object (default = null)

addEventListenerInterceptor()method 
public function addEventListenerInterceptor(type:String, interceptor:IEventListenerInterceptor, topic:Object = null):void

Parameters

type:String
 
interceptor:IEventListenerInterceptor
 
topic:Object (default = null)

addEventListenerProxy()method 
public function addEventListenerProxy(type:String, proxy:MethodInvoker, useWeakReference:Boolean = false, topic:Object = null):Boolean

Parameters

type:String
 
proxy:MethodInvoker
 
useWeakReference:Boolean (default = false)
 
topic:Object (default = null)

Returns
Boolean
addEventListeners()method 
public function addEventListeners(eventDispatcher:IEventDispatcher, eventTypes:Vector.<String>, topics:Array):void

Parameters

eventDispatcher:IEventDispatcher
 
eventTypes:Vector.<String>
 
topics:Array

addInterceptor()method 
public function addInterceptor(interceptor:IEventInterceptor, topic:Object = null):void

Parameters

interceptor:IEventInterceptor
 
topic:Object (default = null)

addListenerInterceptor()method 
public function addListenerInterceptor(interceptor:IEventListenerInterceptor, topic:Object = null):void

Parameters

interceptor:IEventListenerInterceptor
 
topic:Object (default = null)

dispose()method 
public function dispose():void

findProxy()method 
protected function findProxy(proxy:MethodInvoker, proxies:Vector.<MethodInvoker>):MethodInvoker

Parameters

proxy:MethodInvoker
 
proxies:Vector.<MethodInvoker>

Returns
MethodInvoker
initEventBusRegistry()method 
protected function initEventBusRegistry(eventBus:IEventBus):void

Initializes the current DefaultEventBusUserRegistry.

Parameters

eventBus:IEventBus

removeEventClassInterceptor()method 
public function removeEventClassInterceptor(eventClass:Class, interceptor:IEventInterceptor, topic:Object = null):void

Parameters

eventClass:Class
 
interceptor:IEventInterceptor
 
topic:Object (default = null)

removeEventClassListener()method 
protected function removeEventClassListener(eventClass:Class, handler:Function = null):void

Parameters

eventClass:Class
 
handler:Function (default = null)

removeEventClassListenerInterceptor()method 
public function removeEventClassListenerInterceptor(eventClass:Class, interceptor:IEventListenerInterceptor, topic:Object = null):void

Parameters

eventClass:Class
 
interceptor:IEventListenerInterceptor
 
topic:Object (default = null)

removeEventClassListenerProxy()method 
public function removeEventClassListenerProxy(eventClass:Class, proxy:MethodInvoker, topic:Object = null):void

Parameters

eventClass:Class
 
proxy:MethodInvoker
 
topic:Object (default = null)

removeEventInterceptor()method 
public function removeEventInterceptor(type:String, interceptor:IEventInterceptor, topic:Object = null):void

Parameters

type:String
 
interceptor:IEventInterceptor
 
topic:Object (default = null)

removeEventListener()method 
protected function removeEventListener(eventName:String, handler:Function = null):void

Parameters

eventName:String
 
handler:Function (default = null)

removeEventListenerInterceptor()method 
public function removeEventListenerInterceptor(type:String, interceptor:IEventListenerInterceptor, topic:Object = null):void

Parameters

type:String
 
interceptor:IEventListenerInterceptor
 
topic:Object (default = null)

removeEventListenerProxy()method 
public function removeEventListenerProxy(type:String, proxy:MethodInvoker, topic:Object = null):void

Parameters

type:String
 
proxy:MethodInvoker
 
topic:Object (default = null)

removeEventListeners()method 
public function removeEventListeners(eventDispatcher:IEventDispatcher):void

Removes all the event listeners that were added to the specified IEventDispatcher.

Parameters

eventDispatcher:IEventDispatcher

removeInterceptor()method 
public function removeInterceptor(interceptor:IEventInterceptor, topic:Object = null):void

Parameters

interceptor:IEventInterceptor
 
topic:Object (default = null)

removeListenerInterceptor()method 
public function removeListenerInterceptor(interceptor:IEventListenerInterceptor, topic:Object = null):void

Parameters

interceptor:IEventListenerInterceptor
 
topic:Object (default = null)

rerouteToEventBus()method 
public function rerouteToEventBus(event:Event):void

Parameters

event:Event