|
||||||||||
| 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.QualifiedIndexCmd
public final class QualifiedIndexCmd
Command-line utility that can generate META-INF/sisu index files for a space-separated list of JARs.
| Constructor Summary | |
|---|---|
QualifiedIndexCmd()
|
|
| Method Summary | |
|---|---|
protected java.io.Reader |
getReader(java.lang.String path)
Creates a new reader for the given input path. |
protected java.io.Writer |
getWriter(java.lang.String path)
Creates a new writer for the given output path. |
void |
hear(java.lang.annotation.Annotation qualifier,
java.lang.Class<?> qualifiedType,
java.lang.Object source)
Invoked when the QualifiedTypeVisitor finds a qualified type. |
protected void |
info(java.lang.String message)
Reports an informational message. |
static void |
main(java.lang.String[] args)
|
protected void |
warn(java.lang.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 |
| Constructor Detail |
|---|
public QualifiedIndexCmd()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.net.MalformedURLException
java.net.MalformedURLException
public void hear(java.lang.annotation.Annotation qualifier,
java.lang.Class<?> qualifiedType,
java.lang.Object source)
QualifiedTypeListenerQualifiedTypeVisitor finds a qualified type.
hear in interface QualifiedTypeListenerqualifier - The qualifierqualifiedType - The qualified typesource - The source of this typeBinder.withSource(Object)protected void info(java.lang.String message)
AbstractSisuIndex
info in class AbstractSisuIndexmessage - The messageprotected void warn(java.lang.String message)
AbstractSisuIndex
warn in class AbstractSisuIndexmessage - The message
protected java.io.Reader getReader(java.lang.String path)
throws java.io.IOException
AbstractSisuIndex
getReader in class AbstractSisuIndexpath - The input path
java.io.IOException
protected java.io.Writer getWriter(java.lang.String path)
throws java.io.IOException
AbstractSisuIndex
getWriter in class AbstractSisuIndexpath - The output path
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||