org.codehaus.plexus.application.supervisor
Class DefaultSupervisor

java.lang.Object
  extended byorg.codehaus.plexus.application.supervisor.DefaultSupervisor
All Implemented Interfaces:
Supervisor

public class DefaultSupervisor
extends java.lang.Object
implements Supervisor

Version:
$Id: DefaultSupervisor.java 1408 2005-01-21 12:10:16Z trygvis $
Author:
Trygve Laugstøl

Field Summary
private  java.util.List directories
           
 
Fields inherited from interface org.codehaus.plexus.application.supervisor.Supervisor
ROLE
 
Constructor Summary
DefaultSupervisor()
           
 
Method Summary
 void addDirectory(java.io.File directory, SupervisorListener listener)
           
 void scan()
           
private  void scanDirectory(java.io.File dir, SupervisorListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

directories

private java.util.List directories
Constructor Detail

DefaultSupervisor

public DefaultSupervisor()
Method Detail

addDirectory

public void addDirectory(java.io.File directory,
                         SupervisorListener listener)
                  throws SupervisorException
Specified by:
addDirectory in interface Supervisor
Throws:
SupervisorException

scan

public void scan()
          throws SupervisorException
Specified by:
scan in interface Supervisor
Throws:
SupervisorException

scanDirectory

private void scanDirectory(java.io.File dir,
                           SupervisorListener listener)