Package | Description |
---|---|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.config.plugins.util |
Utility and manager classes for Log4j 2 plugins.
|
Modifier and Type | Method and Description |
---|---|
PluginType<?> |
Node.getType() |
Modifier and Type | Method and Description |
---|---|
Object |
AbstractConfiguration.createPluginObject(PluginType<?> type,
Node node)
This method is used by Arbiters to create specific children.
|
protected List<Node> |
AbstractConfiguration.processSelect(Node selectNode,
PluginType<?> type)
Handle Select nodes.
|
Constructor and Description |
---|
Node(Node parent,
String name,
PluginType<?> type)
Creates a new instance of
Node and initializes it
with a name and the corresponding XML element. |
Modifier and Type | Method and Description |
---|---|
PluginType<?> |
PluginManager.getPluginType(String name)
Returns the type of a specified plugin.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,PluginType<?>> |
PluginUtil.collectPluginsByCategory(String category)
Shortcut for collecting plugins matching with the given
category . |
static Map<String,PluginType<?>> |
PluginUtil.collectPluginsByCategoryAndPackage(String category,
List<String> packages)
Short for collecting plugins matching with the given
category in provided packages . |
Map<String,PluginType<?>> |
PluginManager.getPlugins()
Returns all the matching plugins.
|
Map<Long,Map<String,List<PluginType<?>>>> |
PluginRegistry.getPluginsByCategoryByBundleId() |
Map<String,List<PluginType<?>>> |
PluginRegistry.loadFromBundle(long bundleId,
ClassLoader loader) |
Map<String,List<PluginType<?>>> |
PluginRegistry.loadFromMainClassLoader() |
Map<String,List<PluginType<?>>> |
PluginRegistry.loadFromPackage(String pkg) |
Constructor and Description |
---|
PluginBuilder(PluginType<?> pluginType)
Constructs a PluginBuilder for a given PluginType.
|
Copyright © 1999-2024 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.