org.oddjob
Interface Structural

All Known Implementing Classes:
FolderJob, IfJob, JMXClientJob, Oddjob, QuartzSchedulerJob, QuartzSchedulerJob.SchedulerState, RootDC, SequentialJob, StructuralDC, StructuralJob

public interface Structural

A class which implments this interface will inform listeners when it's structure changes. A structural change is when a child compeont is added or removed from the implmenting class. A new listener must recieve add notifications for all existing children as there is no other way to determine the existing structure of an implementing class.

Author:
Rob Gordon

Method Summary
 void addStructuralListener(StructuralListener listener)
          Add a listener.
 void removeStructuralListener(StructuralListener listener)
          Remove a listener.
 

Method Detail

addStructuralListener

public void addStructuralListener(StructuralListener listener)
Add a listener. The listener will immediately recieve add notifications for all existing children.

Parameters:
listener - The listener.

removeStructuralListener

public void removeStructuralListener(StructuralListener listener)
Remove a listener.

Parameters:
listener - The listner.