|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--org.objectweb.jonas.ear.lib.EarCleaner
JOnAS Ear unused direcotry cleaner class. This class provides a way for removing directories wich are unconsistent directories for ear files.
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary | |
static EarCleaner |
getInstance(java.net.URL earApps,
EarDeployerLog earDeployerLog)
Get an instance of the EarCleaner. |
java.util.Vector |
removeUnusedDirectories()
Remove the unused directories and return the new Vector of ears. |
void |
run()
Start the thread of this class It will remove all directories |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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 |
public static EarCleaner getInstance(java.net.URL earApps, EarDeployerLog earDeployerLog)
earApps
- the jonasroot apps directoryearDeployerLog
- the deployer loggerpublic void run()
run
in class java.lang.Thread
public java.util.Vector removeUnusedDirectories() throws EarCleanerException
EarCleanerException
- if it failed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |