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.
|
| String | getSystemProperty(String propName)
Get the system property
|
| 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.
Parameters: propName name of the property
Returns: value of the property
Returns: The thread context class loader, if available. Otherwise return null.