org.apache.commons.discovery.jdk
Class JDK12Hooks
Enumeration | getResources(ClassLoader loader, String resourceName) - Implement ClassLoader.getResources for JDK 1.2
|
ClassLoader | getSystemClassLoader() - The system class loader is available for JDK 1.2
or later, if certain security conditions are met.
|
ClassLoader | getThreadContextClassLoader() - The thread context class loader is available for JDK 1.2
or later, if certain security conditions are met.
|
static void | setLog(Log _log) - Must be implemented to use DiscoveryLogFactory
|
getResources
public Enumeration getResources(ClassLoader loader,
String resourceName)
throws IOException
Implement ClassLoader.getResources for JDK 1.2
- getResources in interface JDKHooks
getSystemClassLoader
public ClassLoader getSystemClassLoader()
The system class loader is available for JDK 1.2
or later, if certain security conditions are met.
- getSystemClassLoader in interface JDKHooks
- The system class loader, if available.
Otherwise return null.
getThreadContextClassLoader
public ClassLoader getThreadContextClassLoader()
The thread context class loader is available for JDK 1.2
or later, if certain security conditions are met.
- getThreadContextClassLoader in interface JDKHooks
- The thread context class loader, if available.
Otherwise return null.
setLog
public static void setLog(Log _log)
Must be implemented to use DiscoveryLogFactory
Copyright (c) 2002 - Apache Software Foundation