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.org.apache.logging.log4j.layout.template.json.resolver -
-
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. pluginsMethods 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. typeMethods 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.ObjectAbstractConfiguration. createPluginObject(PluginType<?> type, Node node)This method is used by Arbiters to create specific children.private java.lang.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.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 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 PluginType Modifier and Type Method Description private voidTypeConverterRegistry. 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. pluginTypeFields 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. pluginsprivate java.util.concurrent.ConcurrentMap<java.lang.Long,java.util.Map<java.lang.String,java.util.List<PluginType<?>>>>PluginRegistry. pluginsByCategoryByBundleIdContains 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. pluginsByCategoryByPackageContains 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. pluginsByCategoryRefContains 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 givencategoryin 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 voidPluginManager. mergeByName(java.util.Map<java.lang.String,PluginType<?>> newPlugins, java.util.List<PluginType<?>> plugins)private static voidPluginManager. 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 -
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 PluginType Modifier and Type Method Description private static <V,C extends TemplateResolverContext<V,C>,F extends TemplateResolverFactory<V,C>>
java.util.Map<java.lang.String,F>TemplateResolverFactories. populateFactoryByName(java.util.Map<java.lang.String,PluginType<?>> pluginTypeByName, java.lang.Class<V> valueClass, java.lang.Class<C> contextClass)private static <V,C extends TemplateResolverContext<V,C>,I extends TemplateResolverInterceptor<V,C>>
java.util.List<I>TemplateResolverInterceptors. populateInterceptors(java.util.Map<java.lang.String,PluginType<?>> pluginTypeByName, java.lang.Class<V> valueClass, java.lang.Class<C> contextClass)
-