Class WebTmpCleaner
- java.lang.Object
-
- org.apache.activemq.artemis.component.WebTmpCleaner
-
public class WebTmpCleaner extends Object
This class is used to remove the jar files in temp web dir on Windows platform where handles of the jar files are never released by URLClassLoader until the whole VM exits.
-
-
Constructor Summary
Constructors Constructor Description WebTmpCleaner()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProcesscleanupTmpFiles(File libFolder, List<File> temporaryFiles)static ProcesscleanupTmpFiles(File libFolder, List<File> temporaryFiles, boolean invm)static voiddeleteFolder(File file)static voidmain(String[] filesToClean)
-
-
-
Method Detail
-
cleanupTmpFiles
public static Process cleanupTmpFiles(File libFolder, List<File> temporaryFiles) throws Exception
- Throws:
Exception
-
cleanupTmpFiles
public static Process cleanupTmpFiles(File libFolder, List<File> temporaryFiles, boolean invm) throws Exception
- Throws:
Exception
-
deleteFolder
public static final void deleteFolder(File file)
-
-