org.sape.carbon.core.config.node.event
Interface ConfigurationEventListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
ConfigurationFileMonitor

public interface ConfigurationEventListener
extends EventListener

Interface that must be implemented by class that are interested in Node events. Copyright 2003 Sapient

Since:
carbon 2.2
Version:
$Revision: 1.1 $($Author: dvoet $ / $Date: 2003/12/11 18:43:31 $)
Author:
Douglas Voet, Dec 4, 2003

Method Summary
 void childAdded(Node parent, Node child)
          Called when a child is added
 void childLoaded(Node parent, Node child)
          Called when a node is loaded from the backing data store
 void nodeModified(Node node)
          Called when a node is modified.
 void nodeRemoved(String removedNodeName)
          Called when a node is removed
 

Method Detail

nodeModified

public void nodeModified(Node node)
Called when a node is modified. Adding a child may be considered a modification, but if it is, childAdded will not be called.

Parameters:
node - the node that has been modified

childAdded

public void childAdded(Node parent,
                       Node child)
Called when a child is added

Parameters:
parent - the node the child was added to
child - the child that was added

childLoaded

public void childLoaded(Node parent,
                        Node child)
Called when a node is loaded from the backing data store

Parameters:
parent - the node that loaded the child
child - the child that was loaded

nodeRemoved

public void nodeRemoved(String removedNodeName)
Called when a node is removed

Parameters:
removedNodeName - the absolute name of the removed node


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.