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).
|
Modifier and Type | Method and Description |
---|---|
void |
ClasspathFinder.addClasspathElement(String pathElement,
LogNode log)
Add a classpath element relative to a base file.
|
void |
ClasspathFinder.addClasspathElements(String pathStr,
LogNode log)
Add classpath elements, separated by the system path separator character.
|
Constructor and Description |
---|
Scanner(ScanSpec scanSpec,
ExecutorService executorService,
int numParallelTasks,
boolean enableRecursiveScanning,
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(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 |
---|---|
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.
|
WorkQueue(Collection<T> initialWorkUnits,
WorkQueue.WorkUnitProcessor<T> workUnitProcesor,
InterruptionChecker interruptionChecker,
LogNode log)
A parallel work queue.
|
Copyright © 2016. All rights reserved.