com.objectplanet.survey.event
Class EventBusListNode

java.lang.Object
  extended by com.objectplanet.survey.event.EventBusListNode

public class EventBusListNode
extends java.lang.Object

Event bus event type node. In an event bus, each event type has must have a list of listeners that listens to all events for that type. There must also be a list of listener lists that lists that holds a list per resource id. An EventBusListNode holds references to both of these lists - so there must be one per event type in the bus.

Author:
Torgeir Lund
Created:
18 November 2005

Constructor Summary
EventBusListNode()
           
 
Method Summary
 ListenerArrayList getListenerList()
           
 ListenerList getListenerLists()
           
 void setListenerList(ListenerArrayList listenerList)
           
 void setListenerLists(ListenerList listenerLists)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventBusListNode

public EventBusListNode()
Method Detail

getListenerList

public ListenerArrayList getListenerList()
Returns:
Returns the listenerList.

getListenerLists

public ListenerList getListenerLists()
Returns:
Returns the listenerLists.

setListenerList

public void setListenerList(ListenerArrayList listenerList)
Parameters:
listenerList - The listenerList to set.

setListenerLists

public void setListenerLists(ListenerList listenerLists)
Parameters:
listenerLists - The listenerLists to set.

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016