dynaop
Class Debug

java.lang.Object
  extended bydynaop.Debug

public class Debug
extends java.lang.Object

Tool for debugging proxy factory configurations.

Prints aspect configuration for a class in HTML format to stdout. Usage:

 Debug [class name]
 

Author:
Bob Lee (crazybob@crazybob.org)

Constructor Summary
Debug()
          Use System.out.
Debug(java.io.OutputStream out)
           
Debug(java.io.PrintStream out)
           
 
Method Summary
static ProxyType getProxyType(Aspects aspects, java.lang.Class clazz)
          Gets immutable proxy type for specified Aspects and class.
static ProxyType getProxyType(java.lang.Class clazz)
          Gets immutable proxy type for specified class from default Aspects.
static void main(java.lang.String[] args)
           
 void printXml(java.lang.Class clazz, ProxyType type)
          Prints proxy type for class as XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Debug

public Debug(java.io.PrintStream out)

Debug

public Debug(java.io.OutputStream out)

Debug

public Debug()
Use System.out.

Method Detail

getProxyType

public static ProxyType getProxyType(java.lang.Class clazz)
Gets immutable proxy type for specified class from default Aspects.


getProxyType

public static ProxyType getProxyType(Aspects aspects,
                                     java.lang.Class clazz)
Gets immutable proxy type for specified Aspects and class.


printXml

public void printXml(java.lang.Class clazz,
                     ProxyType type)
Prints proxy type for class as XML.


main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception