com.deltax.cpacker
Interface ClassPacker.ClassScanListener

All Known Implementing Classes:
ClassPacker.Monitor
Enclosing class:
ClassPacker

public static interface ClassPacker.ClassScanListener

This inteface must be implemented by any object interested in listening to scanning events


Method Summary
 void classAdded(java.lang.String className)
          Called when a class is added.
 void nonFatalException(java.lang.String msg, java.lang.Exception e)
          Called when a not strictly fatal exeception occurs during scanning.
 void scanEnd()
          Called when the scan is complete.
 

Method Detail

classAdded

public void classAdded(java.lang.String className)
Called when a class is added. This is called in the same thread as the ClassPacker object.

nonFatalException

public void nonFatalException(java.lang.String msg,
                              java.lang.Exception e)
Called when a not strictly fatal exeception occurs during scanning. Implementor can decide to abort or continue. This is called in the same thread as the ClassPacker object.

scanEnd

public void scanEnd()
Called when the scan is complete. This is called in the same thread as the ClassPacker object.