public class ClassLoaderUtil extends Object
Constructor and Description |
---|
ClassLoaderUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
releaseLoader(URLClassLoader classLoader)
Releases resources held by the URLClassLoader.
|
static IOException[] |
releaseLoader(URLClassLoader classLoader,
Vector<String> jarsClosed)
Releases resources held by the URLClassLoader.
|
public static void releaseLoader(URLClassLoader classLoader)
classLoader
- the instance of URLClassLoader (or a subclass)public static IOException[] releaseLoader(URLClassLoader classLoader, Vector<String> jarsClosed)
Any errors are logged.
classLoader
- the instance of URLClassLoader (or a subclass)jarsClosed
- a Vector of Strings that will contain the names of jars
successfully closed; can be null if the caller does not need the information returnedCopyright © 2018. All rights reserved.