Uses of Class
org.apache.logging.log4j.core.config.plugins.util.PluginType
Packages that use PluginType
Package
Description
Configuration of Log4j 2.
TypeConverter plugins for converter strings into various types.
Utility and manager classes for Log4j 2 plugins.
Log4j 2 helper classes.
-
Uses of PluginType in org.apache.log4j.builders
Fields in org.apache.log4j.builders with type parameters of type PluginTypeMethods in org.apache.log4j.builders that return PluginTypeMethods in org.apache.log4j.builders with parameters of type PluginTypeModifier and TypeMethodDescriptionprivate <T extends Builder<U>,U>
TBuilderManager.createBuilder(PluginType<T> plugin, String prefix, Properties props) private <T extends Builder<U>,U>
UBuilderManager.newInstance(PluginType<T> plugin, Function<T, U> consumer) -
Uses of PluginType in org.apache.logging.log4j.core.config
Fields in org.apache.logging.log4j.core.config declared as PluginTypeMethods 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.private ObjectAbstractConfiguration.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.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.convert
Method parameters in org.apache.logging.log4j.core.config.plugins.convert with type arguments of type PluginTypeModifier and TypeMethodDescriptionprivate voidTypeConverterRegistry.loadKnownTypeConverters(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 PluginTypeFields in org.apache.logging.log4j.core.config.plugins.util with type parameters of type PluginTypeModifier and TypeFieldDescriptionprivate Map<String, PluginType<?>> PluginManager.pluginsprivate final ConcurrentMap<Long, Map<String, List<PluginType<?>>>> PluginRegistry.pluginsByCategoryByBundleIdContains plugins found in Log4j2Plugins.dat cache files in OSGi Bundles.private final ConcurrentMap<String, Map<String, List<PluginType<?>>>> PluginRegistry.pluginsByCategoryByPackageContains plugins found by searching for annotated classes at runtime.private final AtomicReference<Map<String, List<PluginType<?>>>> PluginRegistry.pluginsByCategoryRefContains plugins found in Log4j2Plugins.dat cache files in the main CLASSPATH.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.private Map<String, List<PluginType<?>>> PluginRegistry.decodeCacheFiles(ClassLoader loader) 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) Method parameters in org.apache.logging.log4j.core.config.plugins.util with type arguments of type PluginTypeModifier and TypeMethodDescriptionprivate static voidPluginManager.mergeByName(Map<String, PluginType<?>> newPlugins, List<PluginType<?>> plugins) private static voidPluginManager.mergeByName(Map<String, PluginType<?>> newPlugins, List<PluginType<?>> plugins) Constructors in org.apache.logging.log4j.core.config.plugins.util with parameters of type PluginTypeModifierConstructorDescriptionPluginBuilder(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 -
Uses of PluginType in org.apache.logging.log4j.layout.template.json.resolver
Method parameters in org.apache.logging.log4j.layout.template.json.resolver with type arguments of type PluginTypeModifier and TypeMethodDescriptionprivate static <V,C extends TemplateResolverContext<V, C>, F extends TemplateResolverFactory<V, C>>
Map<String, F> TemplateResolverFactories.populateFactoryByName(Map<String, PluginType<?>> pluginTypeByName, Class<V> valueClass, Class<C> contextClass) private static <V,C extends TemplateResolverContext<V, C>, I extends TemplateResolverInterceptor<V, C>>
List<I> TemplateResolverInterceptors.populateInterceptors(Map<String, PluginType<?>> pluginTypeByName, Class<V> valueClass, Class<C> contextClass)