|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.discovery.jdk.JDKHooks
public abstract class JDKHooks
Constructor Summary | |
---|---|
protected |
JDKHooks()
|
Method Summary | |
---|---|
static JDKHooks |
getJDKHooks()
Return singleton object representing JVM hooks/tools. |
abstract Enumeration |
getResources(ClassLoader loader,
String resourceName)
|
abstract ClassLoader |
getSystemClassLoader()
The system class loader is available for JDK 1.2 or later, if certain security conditions are met. |
abstract String |
getSystemProperty(String propName)
Get the system property |
abstract ClassLoader |
getThreadContextClassLoader()
The thread context class loader is available for JDK 1.2 or later, if certain security conditions are met. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected JDKHooks()
Method Detail |
---|
public static final JDKHooks getJDKHooks()
public abstract String getSystemProperty(String propName)
propName
- name of the property
public abstract ClassLoader getThreadContextClassLoader()
public abstract ClassLoader getSystemClassLoader()
public abstract Enumeration getResources(ClassLoader loader, String resourceName) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |