org.modeshape.graph.observe
Class NetChangeObserver
java.lang.Object
org.modeshape.graph.observe.ChangeObserver
org.modeshape.graph.observe.NetChangeObserver
- All Implemented Interfaces:
- Observer
- Direct Known Subclasses:
- RepositoryService.ConfigurationChangeObserver, SequencingService.RepositoryObserver
@ThreadSafe
public abstract class NetChangeObserver
- extends ChangeObserver
A specialized Observer that figures out the net changes made during a single set of changes. For
example, if a property is updated and then updated again, the net change will be a single change. Or, if a node is created and
then deleted, no net change will be observed.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetChangeObserver
protected NetChangeObserver()
notify
public void notify(Changes changes)
- Method that is called for each
Changes from the Observable instance(s) with which this listener is
registered.
- Specified by:
notify in interface Observer- Specified by:
notify in class ChangeObserver
- Parameters:
changes - the change set- See Also:
ChangeObserver.notify(org.modeshape.graph.observe.Changes)
notify
protected abstract void notify(NetChangeObserver.NetChanges netChanges)
- Method that is called for the set of net changes.
- Parameters:
netChanges - the net changes; never null
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.