org.apache.commons.discovery.jdk
public class JDK12Hooks extends JDKHooks
Method Summary | |
---|---|
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.
|
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.
|
static void | setLog(Log _log)
Must be implemented to use DiscoveryLogFactory |
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.