public interface IByteCodeClassLoader
| Modifier and Type | Method and Description |
|---|---|
java.lang.ClassLoader |
asClassLoader()
Access to the classloader type.
|
java.lang.Class<?> |
doDefineClass(byte[] classcode)
Defines a new class.
|
java.lang.Class<?> |
doDefineClass(java.lang.String name,
byte[] b,
int off,
int len)
Exposes the defineClass() method.
|
java.lang.Class<?> |
doDefineClass(java.lang.String name,
byte[] b,
int off,
int len,
java.security.ProtectionDomain protectiondomain)
Exposes the defineClass() method.
|
java.lang.Class<?> |
doDefineClassInParent(java.lang.String name,
byte[] b,
int off,
int len,
java.security.ProtectionDomain protectiondomain)
Directly injects the class into the parent classloader.
|
java.lang.Class<?> |
loadClass(java.lang.String name)
Loads a class.
|
java.lang.Class<?> loadClass(java.lang.String name)
throws java.lang.ClassNotFoundException
name - Class name.java.lang.ClassNotFoundException - Thrown if class was not found.java.lang.ClassLoader asClassLoader()
java.lang.Class<?> doDefineClass(byte[] classcode)
classcode - Code of the class.java.lang.Class<?> doDefineClass(java.lang.String name,
byte[] b,
int off,
int len)
java.lang.Class<?> doDefineClass(java.lang.String name,
byte[] b,
int off,
int len,
java.security.ProtectionDomain protectiondomain)
java.lang.Class<?> doDefineClassInParent(java.lang.String name,
byte[] b,
int off,
int len,
java.security.ProtectionDomain protectiondomain)