|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.objectweb.jonas_lib.deployment.work.WorkCleaner
JOnAS work deployment files and directories cleaner class. This class provides a way for removing entries wich are unconsistent.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Method Summary | |
void |
executeTasks()
Execute the registered tasks |
static WorkCleaner |
getInstance()
Get an instance of the Work Cleaner. |
protected static org.objectweb.util.monolog.api.Logger |
getLogger()
|
void |
registerTask(AbsCleanTask absCleanTask)
Register a new clean task |
void |
run()
Start the thread of this class It will clean all the work entries |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
protected static org.objectweb.util.monolog.api.Logger getLogger()
public static WorkCleaner getInstance()
public void registerTask(AbsCleanTask absCleanTask)
throws CleanerException
absCleanTask - the task to add
CleanerException - if the task cannot be registredpublic void executeTasks()
public void run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||