|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
org.glassfish.admingui.common.plugin.ConsoleClassLoader
public class ConsoleClassLoader
This ClassLoader makes it possible to access plugin
resources by finding the appropriate plugin module's
ClassLoader and loading resources from it.
| Field Summary | |
|---|---|
static String |
HABITAT_ATTRIBUTE
|
| Constructor Summary | |
|---|---|
protected |
ConsoleClassLoader()
This constructor should not normally be used. |
|
ConsoleClassLoader(ClassLoader parent)
This constructor creates an instance of this ClassLoader and will use the given
ClassLoader as its parent ClassLoader. |
| Method Summary | |
|---|---|
static ClassLoader |
findModuleClassLoader(String moduleName)
This method find the ClassLoader associated with the
named module. |
URL |
findResource(String name)
In order for this method to find the Resource... |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String HABITAT_ATTRIBUTE
| Constructor Detail |
|---|
protected ConsoleClassLoader()
This constructor should not normally be used. You should use
the one that allows you to provide the parent
ClassLoader.
public ConsoleClassLoader(ClassLoader parent)
This constructor creates an instance of this
ClassLoader and will use the given
ClassLoader as its parent ClassLoader.
parent - The parent ClassLoader| Method Detail |
|---|
public URL findResource(String name)
In order for this method to find the Resource...
findResource in class ClassLoaderpublic static ClassLoader findModuleClassLoader(String moduleName)
This method find the ClassLoader associated with the
named module.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||