Package jadex.bytecode
Interface IByteCodeClassLoader
- 
- All Known Implementing Classes:
- ByteCodeClassLoader
 
 public interface IByteCodeClassLoaderInterface for the byte code classloader implementations.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ClassLoaderasClassLoader()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.
 
- 
- 
- 
Method Detail- 
loadClassjava.lang.Class<?> loadClass(java.lang.String name) throws java.lang.ClassNotFoundExceptionLoads a class.- Parameters:
- name- Class name.
- Returns:
- The class.
- Throws:
- java.lang.ClassNotFoundException- Thrown if class was not found.
 
 - 
asClassLoaderjava.lang.ClassLoader asClassLoader() Access to the classloader type.- Returns:
- ClassLoader.
 
 - 
doDefineClassjava.lang.Class<?> doDefineClass(byte[] classcode) Defines a new class.- Parameters:
- classcode- Code of the class.
- Returns:
- The generated class.
 
 - 
doDefineClassjava.lang.Class<?> doDefineClass(java.lang.String name, byte[] b, int off, int len)Exposes the defineClass() method.
 - 
doDefineClassjava.lang.Class<?> doDefineClass(java.lang.String name, byte[] b, int off, int len, java.security.ProtectionDomain protectiondomain)Exposes the defineClass() method.
 - 
doDefineClassInParentjava.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.
 
- 
 
-