|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.classloader.plugins.loader.ClassLoaderToLoaderAdapter
public class ClassLoaderToLoaderAdapter
ClassLoaderToLoaderAdapter.
| Constructor Summary | |
|---|---|
ClassLoaderToLoaderAdapter(ClassLoader classLoader)
Create a new ClassLoaderToLoaderAdapter. |
|
| Method Summary | |
|---|---|
Package |
getPackage(String name)
Get a package |
void |
getPackages(Set<Package> packages)
Get all the packages visible from this loader |
URL |
getResource(String name)
Get a resource |
void |
getResources(String name,
Set<URL> urls)
Get resources |
Class<?> |
loadClass(String className)
Load a class |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClassLoaderToLoaderAdapter(ClassLoader classLoader)
classLoader - the classloader| Method Detail |
|---|
public URL getResource(String name)
Loader
getResource in interface Loadername - the resource name
public void getResources(String name,
Set<URL> urls)
throws IOException
Loader
getResources in interface Loadername - the resource nameurls - the list of urls to add to
IOException - for any errorpublic Class<?> loadClass(String className)
Loader
loadClass in interface LoaderclassName - the class name
public Package getPackage(String name)
Loader
getPackage in interface Loadername - the package name
public void getPackages(Set<Package> packages)
Loader
getPackages in interface Loaderpackages - the packagespublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||