|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPdsClassLoaderExtension
An interface to utilize kernel classes.
| Method Summary | |
|---|---|
String[] |
getGlobalClassSet()
Returns a list of strings that are used to define a global set of classes that are not redefined by child class loaders. |
URL |
getResource(String name)
Returns an url of the first resource found by this class loader extension after the class loader tries to resolve the resource by itself. |
URL |
getResourceFirst(String name)
Returns an url of the first resource found by this class loader extension before the class loader will try to resolve the resource by itself. |
Enumeration<URL> |
getResources(String name)
Returns an enumeration of resources found by this class loader extension |
byte[] |
loadClass(String className)
Resolves a new class and tries to load it by this class loader extension. |
Class<?> |
loadClassExternal(String className)
Resolves a new class and tries to load it by this class loader extension. |
byte[] |
loadClassFirst(String className)
Resolves a new class and tries to load it by this class loader extension. |
byte[] |
refactorClass(String className,
byte[] source)
Replaces class implementations |
| Method Detail |
|---|
String[] getGlobalClassSet()
some.package.*. To define a class use syntax some.package.SomeClass. To define a package that
includes every subsequent packages use syntax some.package.**
byte[] loadClassFirst(String className)
className - Full qualified class name of the loaded class
null if this extension does not find the class.byte[] loadClass(String className)
className - Full qualified class name of the loaded class
null if this extension does not find the class.
byte[] refactorClass(String className,
byte[] source)
className - Full qualified class name of the hacked classsource - the source byte code that needs to be replaced.
null if this extension does not support byte code manipulationClass<?> loadClassExternal(String className)
className - Full qualified class name of the loaded class
null if this extension does not find the class.ClassLoader.loadClass(String)Enumeration<URL> getResources(String name)
name - name of the resource
ClassLoader.getResources(String)URL getResource(String name)
name - name of the resource
null if the resource was not foundClassLoader.getResource(String)URL getResourceFirst(String name)
name - name of the resource
null if the resource was not foundClassLoader.getResource(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||