org.quilt.reg
Class QuiltRegistry

java.lang.Object
  |
  +--org.quilt.reg.Registry
        |
        +--org.quilt.reg.QuiltRegistry
Direct Known Subclasses:
StmtRegistry

public abstract class QuiltRegistry
extends Registry

A registry for use by Quilt class loaders. Adds transformers to the class loader prior to use. Stores information collected while loading classes under a String array key. Dumps that information on request.

Author:
Jim Dixon

Field Summary
protected  ClassXformer[] cxf
          List of class transformers associated with this registry.
protected  GraphXformer[] gxf
          List of graph transformers associated with this registry.
protected  MethodXformer[] mxf
          List of method transformers associated with this registry.
protected  QuiltClassLoader qcl_
          The Quilt class loader using this registry.
 
Constructor Summary
QuiltRegistry(QuiltClassLoader qcl)
           
 
Method Summary
abstract  java.lang.String getReport()
          Dumps the registry in a form appropriate to the application.
abstract  void reset()
          Resets items in the registry in an application-specific manner.
 void setTransformers()
          Attaches transformers to the class loader; classes extending this class should call in the constructor after setting up the lists.
 
Methods inherited from class org.quilt.reg.Registry
clear, containsKey, get, isEmpty, keySet, put, remove, size, splitClassName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cxf

protected ClassXformer[] cxf
List of class transformers associated with this registry.


mxf

protected MethodXformer[] mxf
List of method transformers associated with this registry.


gxf

protected GraphXformer[] gxf
List of graph transformers associated with this registry.


qcl_

protected QuiltClassLoader qcl_
The Quilt class loader using this registry.

Constructor Detail

QuiltRegistry

public QuiltRegistry(QuiltClassLoader qcl)
Method Detail

setTransformers

public final void setTransformers()
Attaches transformers to the class loader; classes extending this class should call in the constructor after setting up the lists.


reset

public abstract void reset()
Resets items in the registry in an application-specific manner.


getReport

public abstract java.lang.String getReport()
Dumps the registry in a form appropriate to the application.



Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.