DynamicClassLoader used to create classes using reflective
access to defineClass. This causes the class to be created on the provided
delegate/parent loader instead of just within this custom loader. Required
for frameworks that don't take and use a loader.
| Modifier and Type | Field and Description |
|---|---|
| private Method |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Class | defineDynamicClass(String name, byte[] b)
Overrides org. Class.
|
| protected Method |
| defineClassMethod | back to summary |
|---|---|
| private Method defineClassMethod | |
| ReflectiveDynamicClassLoader | back to summary |
|---|---|
| public ReflectiveDynamicClassLoader(ClassLoader delegate) | |
| defineDynamicClass | back to summary |
|---|---|
| protected Class Overrides org. Doc from org. Converts an array of bytes into an instance of class
| |
| getDefineClassMethod | back to summary |
|---|---|
| protected Method getDefineClassMethod() | |