|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.guice.bean.scanners.index.AbstractSisuIndex
org.sonatype.guice.bean.scanners.index.SisuIndex
public final class SisuIndex
Command-line utility that generates a qualified class index for a space-separated list of JARs.
Field Summary | |
---|---|
static String |
NAMED
|
Constructor Summary | |
---|---|
SisuIndex(File targetDirectory)
|
Method Summary | |
---|---|
protected Reader |
getReader(String path)
Creates a new reader for the given input path. |
protected Writer |
getWriter(String path)
Creates a new writer for the given output path. |
void |
hear(Annotation qualifier,
Class<?> qualifiedType,
Object source)
Invoked when the QualifiedTypeVisitor finds a qualified type. |
void |
index(ClassSpace space)
|
protected void |
info(String message)
Reports an informational message. |
static void |
main(String[] args)
|
protected void |
warn(String message)
Reports a warning message. |
Methods inherited from class org.sonatype.guice.bean.scanners.index.AbstractSisuIndex |
---|
addClassToIndex, flushIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAMED
Constructor Detail |
---|
public SisuIndex(File targetDirectory)
Method Detail |
---|
public static void main(String[] args)
public void index(ClassSpace space)
public void hear(Annotation qualifier, Class<?> qualifiedType, Object source)
QualifiedTypeListener
QualifiedTypeVisitor
finds a qualified type.
hear
in interface QualifiedTypeListener
qualifier
- The qualifierqualifiedType
- The qualified typesource
- The source of this typeBinder.withSource(Object)
protected void info(String message)
AbstractSisuIndex
info
in class AbstractSisuIndex
message
- The messageprotected void warn(String message)
AbstractSisuIndex
warn
in class AbstractSisuIndex
message
- The messageprotected Reader getReader(String path) throws IOException
AbstractSisuIndex
getReader
in class AbstractSisuIndex
path
- The input path
IOException
protected Writer getWriter(String path) throws IOException
AbstractSisuIndex
getWriter
in class AbstractSisuIndex
path
- The output path
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |