|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.discovery.jdk.JDKHooks
org.apache.commons.discovery.jdk.JDK12Hooks
public class JDK12Hooks
Constructor Summary | |
---|---|
JDK12Hooks()
|
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(org.apache.commons.logging.Log _log)
Must be implemented to use DiscoveryLogFactory |
Methods inherited from class org.apache.commons.discovery.jdk.JDKHooks |
---|
getJDKHooks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDK12Hooks()
Method Detail |
---|
public static void setLog(org.apache.commons.logging.Log _log)
public String getSystemProperty(String propName)
getSystemProperty
in class JDKHooks
propName
- name of the property
public ClassLoader getThreadContextClassLoader()
getThreadContextClassLoader
in class JDKHooks
public ClassLoader getSystemClassLoader()
getSystemClassLoader
in class JDKHooks
public Enumeration getResources(ClassLoader loader, String resourceName) throws IOException
getResources
in class JDKHooks
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |