edu.ksu.cis.projects.bogor.module.event
Class AbstractEventNotifier

java.lang.Object
  extended by edu.ksu.cis.projects.bogor.module.event.AbstractEventNotifier
All Implemented Interfaces:
IEventNotifier
Direct Known Subclasses:
DefaultArrayEventNotifier, DefaultExtValueEventNotifier, DefaultGlobalVarEventNotifier, DefaultLockEventNotifier, DefaultRecordEventNotifier, DefaultSearchEventNotifier, DefaultStateEventNotifier, DefaultThreadEventNotifier, DefaultValueEventNotifier

public class AbstractEventNotifier
extends Object
implements IEventNotifier


Field Summary
protected  HashSet<Object> notificationEnabledKeys
           
 
Constructor Summary
AbstractEventNotifier()
           
 
Method Summary
 void enableNotification(Object key)
           
 void enableNotification(Set<Object> keys)
           
 Set<Object> getEnabledKeys()
           
 void removeEnableNotificationKey(Object key)
           
 void removeEnableNotificationKeys(Set<Object> keys)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notificationEnabledKeys

protected HashSet<Object> notificationEnabledKeys
Constructor Detail

AbstractEventNotifier

public AbstractEventNotifier()
Method Detail

getEnabledKeys

public Set<Object> getEnabledKeys()
Specified by:
getEnabledKeys in interface IEventNotifier

enableNotification

public void enableNotification(Object key)
Specified by:
enableNotification in interface IEventNotifier

enableNotification

public void enableNotification(Set<Object> keys)
Specified by:
enableNotification in interface IEventNotifier

removeEnableNotificationKey

public void removeEnableNotificationKey(Object key)
Specified by:
removeEnableNotificationKey in interface IEventNotifier

removeEnableNotificationKeys

public void removeEnableNotificationKeys(Set<Object> keys)
Specified by:
removeEnableNotificationKeys in interface IEventNotifier