Uses of Class
org.apache.logging.log4j.core.config.plugins.util.PluginType
Packages that use 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
Methods in org.apache.logging.log4j.core.config that return PluginTypeMethods in org.apache.logging.log4j.core.config with parameters of type PluginTypeModifier 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.Constructors in org.apache.logging.log4j.core.config with parameters of type PluginTypeModifierConstructorDescriptionNode(Node parent, String name, PluginType<?> type) Creates a new instance ofNodeand initializes it with a name and the corresponding XML element. -
Uses of PluginType in org.apache.logging.log4j.core.config.plugins.util
Methods in org.apache.logging.log4j.core.config.plugins.util that return PluginTypeModifier and TypeMethodDescriptionPluginType<?>PluginManager.getPluginType(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 PluginTypeModifier 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 givencategoryin 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) Constructors in org.apache.logging.log4j.core.config.plugins.util with parameters of type PluginTypeModifierConstructorDescriptionPluginBuilder(PluginType<?> pluginType) Constructs a PluginBuilder for a given PluginType.