Package | Description |
---|---|
org.apache.logging.log4j.core.config.plugins.util |
Utility and manager classes for Log4j 2 plugins.
|
Modifier and Type | Class and Description |
---|---|
static class |
PluginRegistry.PluginTest
A Test that checks to see if each class is annotated with the 'Plugin' annotation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ResolverUtil.addIfMatching(ResolverUtil.Test test,
java.lang.String fqn)
Add the class designated by the fully qualified class name provided to the set of resolved classes if and only if
it is approved by the Test supplied.
|
void |
ResolverUtil.find(ResolverUtil.Test test,
java.lang.String... packageNames)
Attempts to discover classes that pass the test.
|
void |
ResolverUtil.findInPackage(ResolverUtil.Test test,
java.lang.String packageName)
Scans for classes starting at the package provided and descending into subpackages.
|
private boolean |
ResolverUtil.isTestApplicable(ResolverUtil.Test test,
java.lang.String path) |
private void |
ResolverUtil.loadImplementationsInBundle(ResolverUtil.Test test,
java.lang.String packageName) |
private void |
ResolverUtil.loadImplementationsInDirectory(ResolverUtil.Test test,
java.lang.String parent,
java.io.File location)
Finds matches in a physical directory on a file system.
|
private void |
ResolverUtil.loadImplementationsInJar(ResolverUtil.Test test,
java.lang.String parent,
java.io.File jarFile)
Finds matching classes within a jar files that contains a folder structure matching the package structure.
|
private void |
ResolverUtil.loadImplementationsInJar(ResolverUtil.Test test,
java.lang.String parent,
java.lang.String path,
java.util.jar.JarInputStream stream)
Finds matching classes within a jar files that contains a folder structure matching the package structure.
|