public class JDK12Hooks extends JDKHooks
Constructor and Description |
---|
JDK12Hooks() |
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
getResources(java.lang.ClassLoader loader,
java.lang.String resourceName)
Implement ClassLoader.getResources for JDK 1.2
|
java.lang.ClassLoader |
getSystemClassLoader()
The system class loader is available for JDK 1.2
or later, if certain security conditions are met.
|
java.lang.String |
getSystemProperty(java.lang.String propName)
Get the system property
|
java.lang.ClassLoader |
getThreadContextClassLoader()
The thread context class loader is available for JDK 1.2
or later, if certain security conditions are met.
|
static void |
setLog(org.apache.commons.logging.Log _log)
Must be implemented to use DiscoveryLogFactory
|
getJDKHooks
public static void setLog(org.apache.commons.logging.Log _log)
public java.lang.String getSystemProperty(java.lang.String propName)
getSystemProperty
in class JDKHooks
propName
- name of the propertypublic java.lang.ClassLoader getThreadContextClassLoader()
getThreadContextClassLoader
in class JDKHooks
public java.lang.ClassLoader getSystemClassLoader()
getSystemClassLoader
in class JDKHooks
public java.util.Enumeration getResources(java.lang.ClassLoader loader, java.lang.String resourceName) throws java.io.IOException
getResources
in class JDKHooks
java.io.IOException
Copyright (c) 2002 - Apache Software Foundation