org.objectweb.jonas_lib.deployment.work.WorkCleaner Class Reference

Collaboration diagram for org.objectweb.jonas_lib.deployment.work.WorkCleaner:

Collaboration graph
[legend]
List of all members.

Public Member Functions

synchronized void registerTask (AbsCleanTask absCleanTask) throws CleanerException
synchronized void executeTasks ()
void run ()

Static Public Member Functions

synchronized WorkCleaner getInstance ()

Static Protected Member Functions

Logger getLogger ()

Detailed Description

JOnAS work deployment files and directories cleaner class. This class provides a way for removing entries wich are unconsistent.
Author:
Florent Benoit

Ludovic Bert

Benoit PELLETIER

Definition at line 44 of file WorkCleaner.java.


Member Function Documentation

synchronized void org.objectweb.jonas_lib.deployment.work.WorkCleaner.executeTasks  ) 
 

Execute the registered tasks

Definition at line 120 of file WorkCleaner.java.

References org.objectweb.jonas_lib.deployment.work.AbsCleanTask.execute(), and org.objectweb.jonas_lib.deployment.work.WorkCleaner.getLogger().

Referenced by org.objectweb.jonas_lib.deployment.work.WorkCleaner.run().

Here is the call graph for this function:

synchronized WorkCleaner org.objectweb.jonas_lib.deployment.work.WorkCleaner.getInstance  )  [static]
 

Get an instance of the Work Cleaner.

Returns:
the instance of the Work Cleaner.

Definition at line 89 of file WorkCleaner.java.

References org.objectweb.jonas_lib.deployment.work.WorkCleaner.getLogger().

Here is the call graph for this function:

Logger org.objectweb.jonas_lib.deployment.work.WorkCleaner.getLogger  )  [static, protected]
 

Returns:
the logger

Definition at line 81 of file WorkCleaner.java.

Referenced by org.objectweb.jonas_lib.deployment.work.WorkCleaner.executeTasks(), org.objectweb.jonas_lib.deployment.work.WorkCleaner.getInstance(), and org.objectweb.jonas_lib.deployment.work.WorkCleaner.registerTask().

synchronized void org.objectweb.jonas_lib.deployment.work.WorkCleaner.registerTask AbsCleanTask  absCleanTask  )  throws CleanerException
 

Register a new clean task

Parameters:
absCleanTask the task to add
Exceptions:
CleanerException if the task cannot be registred

Definition at line 102 of file WorkCleaner.java.

References org.objectweb.jonas_lib.deployment.work.WorkCleaner.getLogger().

Here is the call graph for this function:

void org.objectweb.jonas_lib.deployment.work.WorkCleaner.run  ) 
 

Start the thread of this class It will clean all the work entries

Definition at line 139 of file WorkCleaner.java.

References org.objectweb.jonas_lib.deployment.work.WorkCleaner.executeTasks().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:29 2005 for JOnAS by  doxygen 1.3.9.1