Package | Description |
---|---|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.config.plugins.convert |
TypeConverter plugins for converter strings into various types.
|
org.apache.logging.log4j.core.config.plugins.util |
Utility and manager classes for Log4j 2 plugins.
|
Modifier and Type | Field and Description |
---|---|
private PluginType<?> |
Node.type |
Modifier and Type | Method and Description |
---|---|
PluginType<?> |
Node.getType() |
Modifier and Type | Method and Description |
---|---|
private java.lang.Object |
AbstractConfiguration.createPluginObject(PluginType<?> type,
Node node,
LogEvent event)
Invokes a static factory method to either create the desired object or to create a builder object that creates
the desired object.
|
Constructor and Description |
---|
Node(Node parent,
java.lang.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 |
---|---|
private void |
TypeConverterRegistry.loadKnownTypeConverters(java.util.Collection<PluginType<?>> knownTypes) |
Modifier and Type | Field and Description |
---|---|
private PluginType<?> |
PluginBuilder.pluginType |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,PluginType<?>> |
PluginManager.plugins |
private java.util.concurrent.ConcurrentMap<java.lang.Long,java.util.Map<java.lang.String,java.util.List<PluginType<?>>>> |
PluginRegistry.pluginsByCategoryByBundleId
Contains plugins found in Log4j2Plugins.dat cache files in OSGi Bundles.
|
private java.util.concurrent.ConcurrentMap<java.lang.String,java.util.Map<java.lang.String,java.util.List<PluginType<?>>>> |
PluginRegistry.pluginsByCategoryByPackage
Contains plugins found by searching for annotated classes at runtime.
|
private java.util.concurrent.atomic.AtomicReference<java.util.Map<java.lang.String,java.util.List<PluginType<?>>>> |
PluginRegistry.pluginsByCategoryRef
Contains plugins found in Log4j2Plugins.dat cache files in the main CLASSPATH.
|
Modifier and Type | Method and Description |
---|---|
PluginType<?> |
PluginManager.getPluginType(java.lang.String name)
Returns the type of a specified plugin.
|
Modifier and Type | Method and Description |
---|---|
private java.util.Map<java.lang.String,java.util.List<PluginType<?>>> |
PluginRegistry.decodeCacheFiles(java.lang.ClassLoader loader) |
java.util.Map<java.lang.String,PluginType<?>> |
PluginManager.getPlugins()
Returns all the matching plugins.
|
java.util.Map<java.lang.Long,java.util.Map<java.lang.String,java.util.List<PluginType<?>>>> |
PluginRegistry.getPluginsByCategoryByBundleId() |
java.util.Map<java.lang.String,java.util.List<PluginType<?>>> |
PluginRegistry.loadFromBundle(long bundleId,
java.lang.ClassLoader loader) |
java.util.Map<java.lang.String,java.util.List<PluginType<?>>> |
PluginRegistry.loadFromMainClassLoader() |
java.util.Map<java.lang.String,java.util.List<PluginType<?>>> |
PluginRegistry.loadFromPackage(java.lang.String pkg) |
Modifier and Type | Method and Description |
---|---|
private static void |
PluginManager.mergeByName(java.util.Map<java.lang.String,PluginType<?>> newPlugins,
java.util.List<PluginType<?>> plugins) |
private static void |
PluginManager.mergeByName(java.util.Map<java.lang.String,PluginType<?>> newPlugins,
java.util.List<PluginType<?>> plugins) |
Constructor and Description |
---|
PluginBuilder(PluginType<?> pluginType)
Constructs a PluginBuilder for a given PluginType.
|