g-Eclipse
Release 1.0.0

eu.geclipse.info
Class InfoCacheListenerHandler

java.lang.Object
  extended by eu.geclipse.info.InfoCacheListenerHandler
All Implemented Interfaces:
IGlueInfoStore

public class InfoCacheListenerHandler
extends java.lang.Object
implements IGlueInfoStore

This class is responsible to handle the listener updates of the


Method Summary
 void addListener(IGlueStoreChangeListerner listener)
          Add a listener
static InfoCacheListenerHandler getInstance()
          return a sigleton instance
 void notifyListeners()
          Notify that a change has been made.
 void removeAllListeners()
          Remove all the listeners
 void removeListener(IGlueStoreChangeListerner listener)
          Remove a specific listener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static InfoCacheListenerHandler getInstance()
return a sigleton instance

Returns:
a InfoCacheListenerHandler object

addListener

public void addListener(IGlueStoreChangeListerner listener)
Description copied from interface: IGlueInfoStore
Add a listener

Specified by:
addListener in interface IGlueInfoStore
Parameters:
listener - an IGlueStoreChangeListerner

notifyListeners

public void notifyListeners()
Description copied from interface: IGlueInfoStore
Notify that a change has been made.

Specified by:
notifyListeners in interface IGlueInfoStore

removeAllListeners

public void removeAllListeners()
Description copied from interface: IGlueInfoStore
Remove all the listeners

Specified by:
removeAllListeners in interface IGlueInfoStore

removeListener

public void removeListener(IGlueStoreChangeListerner listener)
Description copied from interface: IGlueInfoStore
Remove a specific listener

Specified by:
removeListener in interface IGlueInfoStore

g-Eclipse
Release 1.0.0