Uses of Class
org.apache.logging.log4j.core.config.plugins.util.PluginType
-
Packages that use PluginType Package Description org.apache.log4j.builders 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.org.apache.logging.log4j.core.util Log4j 2 helper classes. -
-
Uses of PluginType in org.apache.log4j.builders
Fields in org.apache.log4j.builders with type parameters of type PluginType Modifier and Type Field Description private java.util.Map<java.lang.String,PluginType<?>>
BuilderManager. plugins
Methods in org.apache.log4j.builders that return PluginType Modifier and Type Method Description private <T> PluginType<T>
BuilderManager. getPlugin(java.lang.String className)
Methods in org.apache.log4j.builders with parameters of type PluginType Modifier and Type Method Description private <T extends Builder<U>,U>
TBuilderManager. createBuilder(PluginType<T> plugin, java.lang.String prefix, java.util.Properties props)
private <T extends Builder<U>,U>
UBuilderManager. newInstance(PluginType<T> plugin, java.util.function.Function<T,U> consumer, U invalidValue)
-
Uses of PluginType in org.apache.logging.log4j.core.config
Fields in org.apache.logging.log4j.core.config declared as PluginType Modifier and Type Field Description private PluginType<?>
Node. type
Methods in org.apache.logging.log4j.core.config that return PluginType Modifier and Type Method Description PluginType<?>
Node. getType()
Methods in org.apache.logging.log4j.core.config with parameters of type PluginType Modifier and Type Method Description java.lang.Object
AbstractConfiguration. createPluginObject(PluginType<?> type, Node node)
This method is used by Arbiters to create specific children.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.protected java.util.List<Node>
AbstractConfiguration. processSelect(Node selectNode, PluginType<?> type)
Handle Select nodes.Constructors in org.apache.logging.log4j.core.config with parameters of type PluginType Constructor Description Node(Node parent, java.lang.String name, PluginType<?> type)
Creates a new instance ofNode
and initializes it with a name and the corresponding XML element. -
Uses of PluginType in org.apache.logging.log4j.core.config.plugins.convert
Method parameters in org.apache.logging.log4j.core.config.plugins.convert with type arguments of type PluginType Modifier and Type Method Description private void
TypeConverterRegistry. loadKnownTypeConverters(java.util.Collection<PluginType<?>> knownTypes)
-
Uses of PluginType in org.apache.logging.log4j.core.config.plugins.util
Fields in org.apache.logging.log4j.core.config.plugins.util declared as PluginType Modifier and Type Field Description private PluginType<?>
PluginBuilder. pluginType
Fields in org.apache.logging.log4j.core.config.plugins.util with type parameters of type PluginType Modifier and Type Field 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.Methods in org.apache.logging.log4j.core.config.plugins.util that return PluginType Modifier and Type Method Description PluginType<?>
PluginManager. getPluginType(java.lang.String name)
Returns the type of a specified plugin.Methods in org.apache.logging.log4j.core.config.plugins.util that return types with arguments of type PluginType Modifier and Type Method Description static java.util.Map<java.lang.String,PluginType<?>>
PluginUtil. collectPluginsByCategory(java.lang.String category)
Shortcut for collecting plugins matching with the givencategory
.static java.util.Map<java.lang.String,PluginType<?>>
PluginUtil. collectPluginsByCategoryAndPackage(java.lang.String category, java.util.List<java.lang.String> packages)
Short for collecting plugins matching with the givencategory
in providedpackages
.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)
Method parameters in org.apache.logging.log4j.core.config.plugins.util with type arguments of type PluginType Modifier and Type Method 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)
Constructors in org.apache.logging.log4j.core.config.plugins.util with parameters of type PluginType Constructor Description PluginBuilder(PluginType<?> pluginType)
Constructs a PluginBuilder for a given PluginType. -
Uses of PluginType in org.apache.logging.log4j.core.util
Fields in org.apache.logging.log4j.core.util with type parameters of type PluginType Modifier and Type Field Description private java.util.Map<java.lang.String,PluginType<?>>
WatcherFactory. plugins
-