org.objectweb.fractal.juliak.factory
Class ClasseDefinitions

java.lang.Object
  extended by org.objectweb.fractal.juliak.factory.ClasseDefinitions

public class ClasseDefinitions
extends Object

Repository for classes dynamically loaded by Juliak.

Author:
Lionel Seinturier

Method Summary
 boolean containsClass(String targetClassname)
          Return true if the repository contains the specified class name.
 void dumpClasses()
          Dump registered classes.
static ClasseDefinitions get()
          Return the singleton instance of this class.
 ClassDefinition getClass(String targetClassname)
          Retrieve a class from the repository.
 ClassDefinition registerClass(String targetClassname, byte[] bytecode)
          Register a class in the repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static ClasseDefinitions get()
Return the singleton instance of this class.


containsClass

public boolean containsClass(String targetClassname)
Return true if the repository contains the specified class name.


getClass

public ClassDefinition getClass(String targetClassname)
Retrieve a class from the repository.


registerClass

public ClassDefinition registerClass(String targetClassname,
                                     byte[] bytecode)
Register a class in the repository.


dumpClasses

public void dumpClasses()
Dump registered classes.