it.biobytes.ammentos.event
Class EventDispatcher

java.lang.Object
  extended by it.biobytes.ammentos.event.EventDispatcher
All Implemented Interfaces:
java.lang.Runnable

public class EventDispatcher
extends java.lang.Object
implements java.lang.Runnable

Author:
davide

Constructor Summary
EventDispatcher()
          Creates a new instance of EventDispatcher
 
Method Summary
 void addPersistenceListener(PersistenceListener l)
           
 void dispatchEvent(PersistenceEvent e)
           
 void removePersistenceListener(PersistenceListener l)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventDispatcher

public EventDispatcher()
Creates a new instance of EventDispatcher

Method Detail

dispatchEvent

public void dispatchEvent(PersistenceEvent e)

addPersistenceListener

public void addPersistenceListener(PersistenceListener l)

removePersistenceListener

public void removePersistenceListener(PersistenceListener l)

run

public void run()
Specified by:
run in interface java.lang.Runnable