com.jeantessier.classreader
Interface LoadListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
Collector
All Known Implementing Classes:
DependencyExtractAction, MetricsExtractAction

public interface LoadListener
extends java.util.EventListener


Method Summary
 void BeginClassfile(LoadEvent event)
          The loader is starting on a new .class file.
 void BeginGroup(LoadEvent event)
          The loader is starting on a new group of files.
 void BeginSession(LoadEvent event)
           
 void EndClassfile(LoadEvent event)
          The loader is finished loading a .class file.
 void EndGroup(LoadEvent event)
          The loader finished the group of files.
 void EndSession(LoadEvent event)
           
 

Method Detail

BeginSession

public void BeginSession(LoadEvent event)

BeginGroup

public void BeginGroup(LoadEvent event)

The loader is starting on a new group of files. For example, this can be a new JAR file or a collection of loose .class files.

The event's filename attribute points to the source or the group of files, such as the JAR file's name or the root directory of the loose files.

The element and classfile attributes are null.


BeginClassfile

public void BeginClassfile(LoadEvent event)

The loader is starting on a new .class file.

The event's element attribute contains the name of the .class file being processed.

The event's filename attribute points to the group of files that contains the current file. For example, the JAR file's name or the root directory of loose files.

The classfile attributes is null.


EndClassfile

public void EndClassfile(LoadEvent event)

The loader is finished loading a .class file.

The event's classfile attribute contains the newly loaded Classfile instance from the .class file.

The event's filename attribute points to the group of files that contains the current file. For example, the JAR file's name or the root directory of loose files.

The element attributes is null.


EndGroup

public void EndGroup(LoadEvent event)

The loader finished the group of files. For example, this can be a new JAR file or a collection of loose .class files.

The event's filename attribute points to the source or the group of files, such as the JAR file's name or the root directory of the loose files.

The element and classfile attributes are null.


EndSession

public void EndSession(LoadEvent event)