|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.ClassLoaderUtil
public class ClassLoaderUtil
Provides utility functions related to URLClassLoaders or subclasses of it. W A R N I N G This class uses undocumented, unpublished, private data structures inside java.net.URLClassLoader and sun.misc.URLClassPath. Use with extreme caution.
Constructor Summary | |
---|---|
ClassLoaderUtil()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassLoaderUtil()
Method Detail |
---|
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 returned
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.