junit.quilt.framework
Class QuiltRegistry
java.lang.Object
|
+--junit.quilt.util.Registry
|
+--junit.quilt.framework.QuiltRegistry
- Direct Known Subclasses:
- B94Registry, NoneRegistry, StateMachineRegistry
- public abstract class QuiltRegistry
- extends Registry
Constructor Summary |
protected |
QuiltRegistry(java.lang.String root)
This constructor is used to initialize the
levels. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuiltRegistry
protected QuiltRegistry(java.lang.String root)
- This constructor is used to initialize the
levels. For example, you may pass in:
{"Class", "Method"} if you have two levels
in the registry.
setLevels
protected void setLevels(java.lang.String[] levels)
getLevels
public java.lang.String[] getLevels()
registerCollector
protected boolean registerCollector(java.lang.Object[] keys,
QuiltCollector collector)
getCollector
public QuiltCollector getCollector(java.lang.Object[] keys)
getCollector
public QuiltCollector getCollector(javax.swing.tree.TreePath path)
addPackage
public void addPackage(java.lang.String pack)
- getInstClassLoader
Get a ClassLoader which will instrument the classes
it loads, such that the instrumentation can be
reported by the collectors stored in this registry.
removePackage
public void removePackage(java.lang.String pack)
getPackages
public java.util.List getPackages()
setPackages
public void setPackages(java.util.List ips)
addPath
public void addPath(java.net.URL path)
removePath
public void removePath(java.net.URL path)
getPaths
public java.util.List getPaths()
setPaths
public void setPaths(java.util.List paths)
setParentClassLoader
public void setParentClassLoader(java.lang.ClassLoader parent)
getParentClassLoader
public java.lang.ClassLoader getParentClassLoader()
getInstClassLoader
public java.lang.ClassLoader getInstClassLoader()
newInstClassLoader
protected abstract java.lang.ClassLoader newInstClassLoader(java.lang.String[] packages,
java.net.URL[] path,
java.lang.ClassLoader parent)
Copyright © 2001-2002 David Dixon-Peugh. All Rights Reserved.