org.oddjob.arooa.runtime
Interface ConfigurationNodeListener

All Superinterfaces:
EventListener

public interface ConfigurationNodeListener
extends EventListener

Listen to changes in Configuration.

Author:
rob

Method Summary
 void childInserted(ConfigurationNodeEvent nodeEvent)
          Receive notification that a child has been inserted.
 void childRemoved(ConfigurationNodeEvent nodeEvent)
          Receive notification that a child has been removed.
 void insertRequest(ConfigurationNodeEvent nodeEvent)
          A ConfigurationNode will make a request to all listeners before inserting a node.
 void removalRequest(ConfigurationNodeEvent nodeEvent)
          A ConfigurationNode will make a request to all listeners before removing a node.
 

Method Detail

insertRequest

void insertRequest(ConfigurationNodeEvent nodeEvent)
                   throws ModificationRefusedException
A ConfigurationNode will make a request to all listeners before inserting a node.

An instance of this use is that a simple property will only allow a single child.

Parameters:
nodeEvent -
Throws:
ModificationRefusedException

removalRequest

void removalRequest(ConfigurationNodeEvent nodeEvent)
                    throws ModificationRefusedException
A ConfigurationNode will make a request to all listeners before removing a node.

Parameters:
nodeEvent -
Throws:
ModificationRefusedException

childInserted

void childInserted(ConfigurationNodeEvent nodeEvent)
Receive notification that a child has been inserted.

Parameters:
nodeEvent -

childRemoved

void childRemoved(ConfigurationNodeEvent nodeEvent)
Receive notification that a child has been removed.

Parameters:
nodeEvent -