org.openrdf.elmo.sesame.behaviours
Class PropertyChangeNotifierSupport
java.lang.Object
org.openrdf.elmo.sesame.behaviours.PropertyChangeNotifierSupport
- All Implemented Interfaces:
- PropertyChangeNotifier
public class PropertyChangeNotifierSupport
- extends Object
- implements PropertyChangeNotifier
Keeps a (non-persistent) list of observers, shared by all beans with the same
subject. A strong reference is used for the subscribers and this does prevent
garbage collection.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyChangeNotifierSupport
public PropertyChangeNotifierSupport(Entity elmo)
notifyAllListenersOf
public static void notifyAllListenersOf(SesameManager manager)
getCalled
public Object getCalled(InvocationContext ctx)
throws Exception
- Throws:
Exception
setCalled
public Object setCalled(InvocationContext ctx)
throws Exception
- Throws:
Exception
mergeCalled
public Object mergeCalled(InvocationContext ctx)
throws Exception
- Throws:
Exception
refreshCalled
public Object refreshCalled(InvocationContext ctx)
throws Exception
- Throws:
Exception
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Description copied from interface:
PropertyChangeNotifier
- Adds a new listener to be notified of changes to this Bean.
- Specified by:
addPropertyChangeListener in interface PropertyChangeNotifier
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Description copied from interface:
PropertyChangeNotifier
- Removes a listener and will no longer be notified of changes.
- Specified by:
removePropertyChangeListener in interface PropertyChangeNotifier
Copyright © 2004-2008 Aduna. All Rights Reserved.