Uses of Class
org.apache.logging.log4j.core.config.plugins.util.PluginType
Package
Description
Configuration of Log4j 2.
Utility and manager classes for Log4j 2 plugins.
-
Uses of PluginType in org.apache.logging.log4j.core.config
Modifier and TypeMethodDescriptionAbstractConfiguration.createPluginObject
(PluginType<?> type, Node node) This method is used by Arbiters to create specific children.AbstractConfiguration.processSelect
(Node selectNode, PluginType<?> type) Handle Select nodes.ModifierConstructorDescriptionNode
(Node parent, 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.util
Modifier and TypeMethodDescriptionPluginType<?>
PluginManager.getPluginType
(String name) Returns the type of a specified plugin.Modifier and TypeMethodDescriptionstatic Map<String,
PluginType<?>> PluginUtil.collectPluginsByCategory
(String category) Shortcut for collecting plugins matching with the givencategory
.static Map<String,
PluginType<?>> PluginUtil.collectPluginsByCategoryAndPackage
(String category, List<String> packages) Short for collecting plugins matching with the givencategory
in providedpackages
.Map<String,
PluginType<?>> PluginManager.getPlugins()
Returns all the matching plugins.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) ModifierConstructorDescriptionPluginBuilder
(PluginType<?> pluginType) Constructs a PluginBuilder for a given PluginType.