Package | Description |
---|---|
io.github.lukehutch.fastclasspathscanner.classloaderhandler | |
io.github.lukehutch.fastclasspathscanner.scanner | |
io.github.lukehutch.fastclasspathscanner.utils |
Modifier and Type | Method and Description |
---|---|
boolean |
URLClassLoaderHandler.handle(ClassLoader classloader,
ClasspathFinder classpathFinder,
LogNode log) |
boolean |
JBossClassLoaderHandler.handle(ClassLoader classloader,
ClasspathFinder classpathFinder,
LogNode log) |
boolean |
EquinoxClassLoaderHandler.handle(ClassLoader classloader,
ClasspathFinder classpathFinder,
LogNode log) |
boolean |
WeblogicClassLoaderHandler.handle(ClassLoader classloader,
ClasspathFinder classpathFinder,
LogNode log) |
boolean |
ClassLoaderHandler.handle(ClassLoader classloader,
ClasspathFinder classpathFinder,
LogNode log)
Determine if a given ClassLoader can be handled (meaning that its classpath elements can be extracted from
it), and if it can, extract the classpath elements from the ClassLoader and register them with the
ClasspathFinder using classpathFinder.addClasspathElement(pathElement) or
classpathFinder.addClasspathElements(path).
|
boolean |
FelixClassLoaderHandler.handle(ClassLoader classloader,
ClasspathFinder classpathFinder,
LogNode log) |
Modifier and Type | Method and Description |
---|---|
boolean |
ClasspathFinder.addClasspathElement(String pathElement,
LogNode log)
Add a classpath element relative to a base file.
|
boolean |
ClasspathFinder.addClasspathElements(String pathStr,
LogNode log)
Add classpath elements, separated by the system path separator character.
|
void |
ScanSpec.callMatchProcessors(ScanResult scanResult,
InterruptionChecker interruptionChecker,
LogNode log)
Run the MatchProcessors after a scan has completed.
|
Constructor and Description |
---|
Scanner(ScanSpec scanSpec,
ExecutorService executorService,
int numParallelTasks,
boolean enableRecursiveScanning,
boolean removeTemporaryFilesAfterScan,
boolean callMatchProcessors,
LogNode log)
The classpath scanner.
|
ScanSpec(String[] scanSpec,
LogNode log)
Parses the scanning specification that was passed to the FastClasspathScanner constructor, and finds all
ClassLoaders.
|
Modifier and Type | Method and Description |
---|---|
LogNode |
LogNode.log(Exception e)
Add a log entry.
|
LogNode |
LogNode.log(String msg)
Add a log entry.
|
LogNode |
LogNode.log(String msg,
long elapsedTimeNanos)
Add a log entry.
|
LogNode |
LogNode.log(String msg,
long elapsedTimeNanos,
Throwable e)
Add a log entry.
|
LogNode |
LogNode.log(String sortKey,
String msg)
Add a log entry with sort key for deterministic ordering.
|
LogNode |
LogNode.log(String sortKey,
String msg,
long elapsedTimeNanos)
Add a log entry with sort key for deterministic ordering.
|
LogNode |
LogNode.log(String sortKey,
String msg,
long elapsedTimeNanos,
Throwable e)
Add a log entry with sort key for deterministic ordering.
|
LogNode |
LogNode.log(String sortKey,
String msg,
Throwable e)
Add a log entry with sort key for deterministic ordering.
|
LogNode |
LogNode.log(String msg,
Throwable e)
Add a log entry.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
JarUtils.isJREJar(File jarfile,
LogNode log)
Determine whether a given jarfile is in a JRE system directory (jre, jre/lib, jre/lib/ext, etc.).
|
static void |
JarUtils.logJavaInfo(LogNode log)
Log the Java version and the JRE paths that were found.
|
void |
WorkQueue.startWorkers(ExecutorService executorService,
int numWorkers,
LogNode log)
Start worker threads with a shared log.
|
Constructor and Description |
---|
FastManifestParser(File jarFile,
LogNode log)
Fast parser for jar manifest files.
|
FastManifestParser(ZipFile zipFile,
LogNode log)
Fast parser for jar manifest files.
|
FastManifestParser(ZipFile zipFile,
ZipEntry manifestEntry,
LogNode log)
Fast parser for jar manifest files.
|
NestedJarHandler(boolean removeTemporaryFilesAfterScan,
InterruptionChecker interruptionChecker,
LogNode log) |
WorkQueue(Collection<T> initialWorkUnits,
WorkQueue.WorkUnitProcessor<T> workUnitProcesor,
InterruptionChecker interruptionChecker,
LogNode log)
A parallel work queue.
|
Copyright © 2017. All rights reserved.