N
nmistry
Does anyone know if it is possible to load classes directly from a jar
file that is stored only in memory?
The reason for my inquiry, is b/c I have a collection of class files
that get loaded from a custom classloader, and im trying to find an
easy way to bundle and transport them. I especially would like to avoid
writing them out to disk.
I figure that i could load the jar into memory, expand it somehow in
memory, and then iterate over the class files and load them
individually. I also figure that there is probably a better way.
Thanks in advance.
-N
file that is stored only in memory?
The reason for my inquiry, is b/c I have a collection of class files
that get loaded from a custom classloader, and im trying to find an
easy way to bundle and transport them. I especially would like to avoid
writing them out to disk.
I figure that i could load the jar into memory, expand it somehow in
memory, and then iterate over the class files and load them
individually. I also figure that there is probably a better way.
Thanks in advance.
-N