org.jboss.dna.graph.observe
Class NetChangeObserver
java.lang.Object
org.jboss.dna.graph.observe.ChangeObserver
org.jboss.dna.graph.observe.NetChangeObserver
- All Implemented Interfaces:
- Observer
@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.
Method Summary |
void |
notify(Changes changes)
Method that is called for each Changes from the Observable instance(s) with which this listener is
registered. |
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.jboss.dna.graph.observe.Changes)
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.