public interface JarScannerCallback
JarScanner to enable
them to receive notification of a discovered JAR.| Modifier and Type | Method and Description |
|---|---|
void |
scan(java.io.File file,
java.lang.String webappPath,
boolean isWebapp)
A JAR was found (probably in an unpacked WAR or possibly elsewhere on the
class path) and may be accessed for further processing via the provided
file.
|
void |
scan(java.net.JarURLConnection urlConn,
java.lang.String webappPath,
boolean isWebapp)
A JAR was found (probably packaged in a WAR) and may be accessed for
further processing via the provided URL connection.
|
void |
scanWebInfClasses()
A directory structure was found within the web application at
/WEB-INF/classes that should be handled as an unpacked JAR.
|
void scan(java.net.JarURLConnection urlConn,
java.lang.String webappPath,
boolean isWebapp)
throws java.io.IOException
urlConn - The connection to the identified JARwebappPath - The path, if any, to the JAR within the web applicationisWebapp - Indicates if the JAR was found within a web
application. If false the JAR should
be treated as being provided by the containerjava.io.IOExceptionvoid scan(java.io.File file,
java.lang.String webappPath,
boolean isWebapp)
throws java.io.IOException
file - The file for the identified JAR.webappPath - The path, if any, to the file within the web
applicationisWebapp - Indicates if the JAR was found within a web
application. If false the JAR should
be treated as being provided by the containerjava.io.IOExceptionvoid scanWebInfClasses()
throws java.io.IOException
java.io.IOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.