ch.elca.el4j.services.persistence.generic.dao.impl
Class DefaultDaoChangeNotifier
java.lang.Object
ch.elca.el4j.services.persistence.generic.dao.impl.DefaultDaoChangeNotifier
- All Implemented Interfaces:
- DaoChangeNotifier
public class DefaultDaoChangeNotifier
- extends Object
- implements DaoChangeNotifier
A default implementation with no notable features.
- Author:
- Adrian Moos (AMS)
- File-location:
- DefaultDaoChangeNotifier
- Last check-in date:
- 2009-08-04 14:25:40 +0200 (Di, 04. Aug 2009) by swismer for revision 3874
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_listeners
protected List<DaoChangeListener> m_listeners
- The presently subscribed listeners.
DefaultDaoChangeNotifier
public DefaultDaoChangeNotifier()
subscribe
public void subscribe(DaoChangeListener cl)
- Causes
cl
to receive future change notifications.
- Specified by:
subscribe
in interface DaoChangeNotifier
- Parameters:
cl
- The DaoChangeListener to subscribe
unsubscribe
public void unsubscribe(DaoChangeListener cl)
- Causes
cl
to no longer receive future change notifications.
- Specified by:
unsubscribe
in interface DaoChangeNotifier
- Parameters:
cl
- The DaoChangeListener to unsubscribe
announce
public void announce(DaoChangeNotifier.Change change)
- Announces
change
to all subscribed observers.
- Specified by:
announce
in interface DaoChangeNotifier
- Parameters:
change
- The change to announce
Copyright © 2005-2011 ELCA. All Rights Reserved.