janino.net

org.codehaus.janino
Class ByteArrayClassLoader

  extended by 
      extended by org.codehaus.janino.ByteArrayClassLoader

public class ByteArrayClassLoader
extends

This allows for the loading of a set of Java™ classes provided in class file format.


Constructor Summary
ByteArrayClassLoader(<,byte[]> classes)
          The given of classes must not be modified afterwards.
ByteArrayClassLoader(<,byte[]> classes,  parent)
           
 
Method Summary
protected   findClass( name)
          Implements .
 
Methods inherited from class java.lang.
, , , , , , , , , , , , , , , , , , , , , , , , , , ,
 
Methods inherited from class java.lang.
, , , , , , , , , ,
 

Constructor Detail

ByteArrayClassLoader

public ByteArrayClassLoader(<,byte[]> classes)
The given of classes must not be modified afterwards.

Parameters:
classes - String className => byte[] data

ByteArrayClassLoader

public ByteArrayClassLoader(<,byte[]> classes,
                             parent)
See Also:
ByteArrayClassLoader(Map)
Method Detail

findClass

protected  findClass( name)
                   throws 
Implements .

Notice that, although nowhere documented, no more than one thread at a time calls this method, because is synchronized.

Overrides:
in class
Throws:

janino.net