public class ReloadableByteArrayClassLoader
extends java.lang.Object
TO DO: REMOVE ALL CLASS LOADERS THAT ARE NEVER USED SINCE 60 MINUTES !!! - OR SUCH CLASS LOADERS THAT HAVE MULTIPLE FAILURES TO LOAD THE SAME CLASS.
Constructor and Description |
---|
ReloadableByteArrayClassLoader(java.lang.ClassLoader parent)
Create a new instance of this class loader.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
defineClass(byte[] classData)
Define a class from a byte array.
|
int |
getClassLoadersCount()
Get the number of currently used java class loaders - used for monitoring and debug purposes only.
|
public ReloadableByteArrayClassLoader(java.lang.ClassLoader parent)
parent
- the parent class loader used for delegationpublic java.lang.Class defineClass(byte[] classData)
classData
- the binary class datapublic int getClassLoadersCount()