|
||||||||||
| 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.JDK11Hooks
public class JDK11Hooks
JDK 1.1 Style Hooks implementation.
| Constructor Summary | |
|---|---|
JDK11Hooks()
|
|
| Method Summary | |
|---|---|
Enumeration<URL> |
getResources(ClassLoader loader,
String resourceName)
Resolve resource with given names and make them available in the returned iterator. |
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. |
| 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 JDK11Hooks()
| Method Detail |
|---|
public String getSystemProperty(String propName)
getSystemProperty in class JDKHookspropName - name of the property
public ClassLoader getThreadContextClassLoader()
getThreadContextClassLoader in class JDKHookspublic ClassLoader getSystemClassLoader()
getSystemClassLoader in class JDKHooks
public Enumeration<URL> getResources(ClassLoader loader,
String resourceName)
throws IOException
getResources in class JDKHooksloader - The class loader used to resolve resourcesresourceName - The resource name to resolve
IOException - if any error occurs while loading the resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||