Uses of Class
io.github.classgraph.utils.LogNode
-
Packages that use LogNode Package Description io.github.classgraph io.github.classgraph.classloaderhandler io.github.classgraph.utils -
-
Uses of LogNode in io.github.classgraph
Methods in io.github.classgraph with parameters of type LogNode Modifier and Type Method Description voidClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classLoader, ClasspathOrder classpathOrderOut, 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). -
Uses of LogNode in io.github.classgraph.classloaderhandler
Methods in io.github.classgraph.classloaderhandler with parameters of type LogNode Modifier and Type Method Description voidAntClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classLoader, ClasspathOrder classpathOrderOut, LogNode log)voidEquinoxClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classLoader, ClasspathOrder classpathOrderOut, LogNode log)voidEquinoxContextFinderClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classLoader, ClasspathOrder classpathOrderOut, LogNode log)voidFallbackClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classLoader, ClasspathOrder classpathOrderOut, LogNode log)voidFelixClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classLoader, ClasspathOrder classpathOrderOut, LogNode log)voidJBossClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classLoader, ClasspathOrder classpathOrderOut, LogNode log)voidJPMSClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classLoader, ClasspathOrder classpathOrderOut, LogNode log)voidOSGiDefaultClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classloader, ClasspathOrder classpathOrderOut, LogNode log)voidURLClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classLoader, ClasspathOrder classpathOrderOut, LogNode log)voidWeblogicClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classLoader, ClasspathOrder classpathOrderOut, LogNode log)voidWebsphereLibertyClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classLoader, ClasspathOrder classpathOrderOut, LogNode log)voidWebsphereTraditionalClassLoaderHandler. handle(ScanSpec scanSpec, ClassLoader classloader, ClasspathOrder classpathOrderOut, LogNode log)ClassLoaderHandlerClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry. instantiate(LogNode log)Instantiate a ClassLoaderHandler, or return null if the class could not be instantiated. -
Uses of LogNode in io.github.classgraph.utils
Methods in io.github.classgraph.utils that return LogNode Modifier and Type Method Description LogNodeLogNode. log(String msg)Add a log entry.LogNodeLogNode. log(String msg, long elapsedTimeNanos)Add a log entry.LogNodeLogNode. log(String msg, long elapsedTimeNanos, Throwable e)Add a log entry.LogNodeLogNode. log(String sortKey, String msg)Add a log entry with sort key for deterministic ordering.LogNodeLogNode. log(String sortKey, String msg, long elapsedTimeNanos)Add a log entry with sort key for deterministic ordering.LogNodeLogNode. log(String sortKey, String msg, long elapsedTimeNanos, Throwable e)Add a log entry with sort key for deterministic ordering.LogNodeLogNode. log(String sortKey, String msg, Throwable e)Add a log entry with sort key for deterministic ordering.LogNodeLogNode. log(String msg, Throwable e)Add a log entry.LogNodeLogNode. log(Throwable e)Add a log entry.LogNodeLogNode. log(List<String> msgs)Add a series of log entries.Methods in io.github.classgraph.utils with parameters of type LogNode Modifier and Type Method Description booleanClasspathOrder. addClasspathElement(String pathElement, ClassLoader classLoader, LogNode log)Add a classpath element relative to a base file.booleanClasspathOrder. addClasspathElementObject(Object pathObject, ClassLoader classLoader, LogNode log)Add classpath elements from an object obtained from reflection.booleanClasspathOrder. addClasspathElements(String pathStr, ClassLoader[] classLoaders, LogNode log)Add classpath elements, separated by the system path separator character.booleanClasspathOrder. addClasspathElements(String pathStr, ClassLoader classLoader, LogNode log)Add classpath elements, separated by the system path separator character.voidNestedJarHandler. close(LogNode log)Close zipfiles and modules, and delete temporary files.booleanSingletonMap. createSingleton(K key, LogNode log)Initialize a value object for this key and return true, if this is the first time this key has been seen, otherwise return false.StringClasspathOrModulePathEntry. getCanonicalPath(LogNode log)FileClasspathOrModulePathEntry. getFile(LogNode log)Map.Entry<File,Set<String>>NestedJarHandler. getInnermostNestedJar(String nestedJarPath, LogNode log)Get a File for a given (possibly nested) jarfile path, unzipping the first N-1 segments of an N-segment '!'-delimited path to temporary files, then returning the File reference for the N-th temporary file.JarfileMetadataReaderNestedJarHandler. getJarfileMetadataReader(File zipFile, String jarfilePackageRoot, LogNode log)Get aJarfileMetadataReadersingleton for a given jarfile (so that the manifest and ZipEntries will only be read once).Recycler<ModuleReaderProxy,IOException>NestedJarHandler. getModuleReaderProxyRecycler(ModuleRef moduleRef, LogNode log)Get a ModuleReaderProxy recycler given a ModuleRef.VSingletonMap. getOrCreateSingleton(K key, LogNode log)Check if the given key is in the map, and if so, return it.Recycler<ZipFile,IOException>NestedJarHandler. getZipFileRecycler(File zipFile, LogNode log)Get a ZipFile recycler given the (non-nested) canonical path of a jarfile.booleanClasspathOrModulePathEntry. isDirectory(LogNode log)booleanClasspathOrModulePathEntry. isFile(LogNode log)static booleanJarUtils. isJREJar(String filePath, ScanSpec scanSpec, LogNode log)booleanClasspathOrModulePathEntry. isValidClasspathElement(ScanSpec scanSpec, LogNode log)True if this relative path is a valid classpath element: that its path can be canonicalized, that it exists, that it is a jarfile or directory, that it is not a blacklisted jar, that it should be scanned, etc.static voidJarUtils. logJavaInfo(LogNode log)Log the Java version and the JRE paths that were found.abstract VSingletonMap. newInstance(K key, LogNode log)Construct a new singleton instance.static byte[]FileUtils. readAllBytesAsArray(InputStream inputStream, long fileSize, LogNode log)Read all the bytes in anInputStreamas a byte array.static StringFileUtils. readAllBytesAsString(InputStream inputStream, long fileSize, LogNode log)Read all the bytes in anInputStreamas a String.static <U> voidWorkQueue. runWorkQueue(Collection<U> elements, ExecutorService executorService, int numParallelTasks, WorkQueue.WorkUnitProcessor<U> workUnitProcessor, InterruptionChecker interruptionChecker, LogNode log)Start a work queue on the elements in the provided collection, blocking until all work units have been completed.static <U> voidWorkQueue. runWorkQueue(Collection<U> elements, ExecutorService executorService, int numParallelTasks, WorkQueue.WorkUnitProcessor<U> workUnitProcessor, WorkQueue.WorkQueuePreStartHook<U> workQueuePreStartHook, InterruptionChecker interruptionChecker, LogNode log)Start a work queue on the elements in the provided collection, blocking until all work units have been completed.Constructors in io.github.classgraph.utils with parameters of type LogNode Constructor Description ClassLoaderAndModuleFinder(ScanSpec scanSpec, LogNode log)A class to find the unique ordered classpath elements.ClasspathFinder(ScanSpec scanSpec, NestedJarHandler nestedJarHandler, LogNode log)A class to find the unique ordered classpath elements.ClasspathOrModulePathEntry(ModuleRef moduleRef, NestedJarHandler nestedJarHandler, LogNode log)A relative path for a module (in JDK9+).ClasspathOrModulePathEntry(String pathToResolveAgainst, String relativePath, ClassLoader[] classLoaders, NestedJarHandler nestedJarHandler, ScanSpec scanSpec, LogNode log)A relative path.NestedJarHandler(ScanSpec scanSpec, LogNode log)A handler for nested jars.
-