org.sonatype.guice.bean.scanners
Interface ClassSpaceVisitor

All Known Implementing Classes:
PlexusTypeVisitor, QualifiedTypeVisitor

public interface ClassSpaceVisitor

ASM-style visitor that visits a ClassSpace. The methods of this interface must be called in the following order: visit ( visitClass )* visitEnd.


Method Summary
 void visit(ClassSpace space)
          Visits the start of the class space.
 ClassVisitor visitClass(URL url)
          Visits a class resource in the class space.
 void visitEnd()
          Visits the end of the class space.
 

Method Detail

visit

void visit(ClassSpace space)
Visits the start of the class space.

Parameters:
space - The class space

visitClass

ClassVisitor visitClass(URL url)
Visits a class resource in the class space.

Parameters:
url - The class resource URL
Returns:
Class visitor; null if this visitor is not interested in visiting the class

visitEnd

void visitEnd()
Visits the end of the class space.



Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.