org.apache.commons.discovery.jdk
public class JDK11Hooks extends JDKHooks
Method Summary | |
---|---|
Enumeration | getResources(ClassLoader loader, String resourceName)
Implement ClassLoader.getResources for JDK 1.1
On JDK1.1 there is no getResources() method. |
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.
|
Returns: The system class loader, if available. Otherwise return null.
Returns: The thread context class loader, if available. Otherwise return null.