Uses of Class
org.apache.logging.log4j.core.config.plugins.PluginFactory

Packages that use PluginFactory
org.apache.logging.log4j.core.appender Log4j 2 Appenders. 
org.apache.logging.log4j.core.appender.db.jdbc The JDBC Appender supports writing log events to a relational database using standard JDBC connections. 
org.apache.logging.log4j.core.appender.db.jpa The JPA Appender supports writing log events to a relational database using the Java Persistence API. 
org.apache.logging.log4j.core.appender.rewrite Apache Flume Appender. 
org.apache.logging.log4j.core.appender.rolling Rolling File Appender and support classes. 
org.apache.logging.log4j.core.appender.routing Apache Flume Appender. 
org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging. 
org.apache.logging.log4j.core.config Configuration of Log4j 2. 
org.apache.logging.log4j.core.filter Log4j 2 Filter support. 
org.apache.logging.log4j.core.layout Log4j 2 Layout support. 
org.apache.logging.log4j.core.net.ssl Log4j 2 SSL support 
org.apache.logging.log4j.core.pattern Provides classes implementing format specifiers in conversion patterns. 
 

Uses of PluginFactory in org.apache.logging.log4j.core.appender
 

Methods in org.apache.logging.log4j.core.appender with annotations of type PluginFactory
static AsyncAppender AsyncAppender.createAppender(AppenderRef[] appenderRefs, String errorRef, boolean blocking, int size, String name, boolean includeLocation, Filter filter, Configuration config, boolean ignoreExceptions)
          Create an AsyncAppender.
static SyslogAppender SyslogAppender.createAppender(String host, int port, String protocolStr, SslConfiguration sslConfig, int reconnectionDelayMillis, boolean immediateFail, String name, boolean immediateFlush, boolean ignoreExceptions, Facility facility, String id, int enterpriseNumber, boolean includeMdc, String mdcId, String mdcPrefix, String eventPrefix, boolean newLine, String escapeNL, String appName, String msgId, String excludes, String includes, String required, String format, Filter filter, Configuration config, Charset charsetName, String exceptionPattern, LoggerFields[] loggerFields, boolean advertise)
          Create a SyslogAppender.
static FailoverAppender FailoverAppender.createAppender(String name, String primary, String[] failovers, String retryIntervalSeconds, Configuration config, Filter filter, String ignore)
          Create a Failover Appender.
static SocketAppender SocketAppender.createAppender(String host, String portNum, String protocolStr, SslConfiguration sslConfig, String delayMillis, String immediateFail, String name, String immediateFlush, String ignore, Layout<? extends Serializable> layout, Filter filter, String advertise, Configuration config)
           
static RandomAccessFileAppender RandomAccessFileAppender.createAppender(String fileName, String append, String name, String immediateFlush, String bufferSizeStr, String ignore, Layout<? extends Serializable> layout, Filter filter, String advertise, String advertiseURI, Configuration config)
          Create a File Appender.
static MemoryMappedFileAppender MemoryMappedFileAppender.createAppender(String fileName, String append, String name, String immediateFlush, String regionLengthStr, String ignore, Layout<? extends Serializable> layout, Filter filter, String advertise, String advertiseURI, Configuration config)
          Create a Memory Mapped File Appender.
static FileAppender FileAppender.createAppender(String fileName, String append, String locking, String name, String immediateFlush, String ignore, String bufferedIo, String bufferSizeStr, Layout<? extends Serializable> layout, Filter filter, String advertise, String advertiseUri, Configuration config)
          Create a File Appender.
static SmtpAppender SmtpAppender.createAppender(String name, String to, String cc, String bcc, String from, String replyTo, String subject, String smtpProtocol, String smtpHost, String smtpPortStr, String smtpUsername, String smtpPassword, String smtpDebug, String bufferSizeStr, Layout<? extends Serializable> layout, Filter filter, String ignore)
          Create a SmtpAppender.
static RollingFileAppender RollingFileAppender.createAppender(String fileName, String filePattern, String append, String name, String bufferedIO, String bufferSizeStr, String immediateFlush, TriggeringPolicy policy, RolloverStrategy strategy, Layout<? extends Serializable> layout, Filter filter, String ignore, String advertise, String advertiseURI, Configuration config)
          Create a RollingFileAppender.
static RollingRandomAccessFileAppender RollingRandomAccessFileAppender.createAppender(String fileName, String filePattern, String append, String name, String immediateFlush, String bufferSizeStr, TriggeringPolicy policy, RolloverStrategy strategy, Layout<? extends Serializable> layout, Filter filter, String ignore, String advertise, String advertiseURI, Configuration config)
          Create a RollingRandomAccessFileAppender.
static String[] FailoversPlugin.createFailovers(AppenderRef... refs)
          Returns the appender references.
 

Uses of PluginFactory in org.apache.logging.log4j.core.appender.db.jdbc
 

Methods in org.apache.logging.log4j.core.appender.db.jdbc with annotations of type PluginFactory
static JdbcAppender JdbcAppender.createAppender(String name, String ignore, Filter filter, ConnectionSource connectionSource, String bufferSize, String tableName, ColumnConfig[] columnConfigs)
          Factory method for creating a JDBC appender within the plugin manager.
static ColumnConfig ColumnConfig.createColumnConfig(Configuration config, String name, String pattern, String literalValue, String eventTimestamp, String unicode, String clob)
          Factory method for creating a column config within the plugin manager.
static DataSourceConnectionSource DataSourceConnectionSource.createConnectionSource(String jndiName)
          Factory method for creating a connection source within the plugin manager.
static FactoryMethodConnectionSource FactoryMethodConnectionSource.createConnectionSource(String className, String methodName)
          Factory method for creating a connection source within the plugin manager.
 

Uses of PluginFactory in org.apache.logging.log4j.core.appender.db.jpa
 

Methods in org.apache.logging.log4j.core.appender.db.jpa with annotations of type PluginFactory
static JpaAppender JpaAppender.createAppender(String name, String ignore, Filter filter, String bufferSize, String entityClassName, String persistenceUnitName)
          Factory method for creating a JPA appender within the plugin manager.
 

Uses of PluginFactory in org.apache.logging.log4j.core.appender.rewrite
 

Methods in org.apache.logging.log4j.core.appender.rewrite with annotations of type PluginFactory
static RewriteAppender RewriteAppender.createAppender(String name, String ignore, AppenderRef[] appenderRefs, Configuration config, RewritePolicy rewritePolicy, Filter filter)
          Create a RewriteAppender.
static PropertiesRewritePolicy PropertiesRewritePolicy.createPolicy(Configuration config, Property[] props)
          The factory method to create the PropertiesRewritePolicy.
static MapRewritePolicy MapRewritePolicy.createPolicy(String mode, KeyValuePair[] pairs)
          The factory method to create the MapRewritePolicy.
 

Uses of PluginFactory in org.apache.logging.log4j.core.appender.rolling
 

Methods in org.apache.logging.log4j.core.appender.rolling with annotations of type PluginFactory
static OnStartupTriggeringPolicy OnStartupTriggeringPolicy.createPolicy()
           
static SizeBasedTriggeringPolicy SizeBasedTriggeringPolicy.createPolicy(String size)
          Create a SizeBasedTriggeringPolicy.
static TimeBasedTriggeringPolicy TimeBasedTriggeringPolicy.createPolicy(String interval, String modulate)
          Create a TimeBasedTriggeringPolicy.
static CompositeTriggeringPolicy CompositeTriggeringPolicy.createPolicy(TriggeringPolicy... policies)
          Create a CompositeTriggeringPolicy.
static DefaultRolloverStrategy DefaultRolloverStrategy.createStrategy(String max, String min, String fileIndex, String compressionLevelStr, Configuration config)
          Create the DefaultRolloverStrategy.
 

Uses of PluginFactory in org.apache.logging.log4j.core.appender.routing
 

Methods in org.apache.logging.log4j.core.appender.routing with annotations of type PluginFactory
static RoutingAppender RoutingAppender.createAppender(String name, String ignore, Routes routes, Configuration config, RewritePolicy rewritePolicy, Filter filter)
          Create a RoutingAppender.
static Route Route.createRoute(String appenderRef, String key, Node node)
          Create the Route.
static Routes Routes.createRoutes(String pattern, Route... routes)
          Create the Routes.
 

Uses of PluginFactory in org.apache.logging.log4j.core.async
 

Methods in org.apache.logging.log4j.core.async with annotations of type PluginFactory
static LoggerConfig AsyncLoggerConfig.RootLogger.createLogger(String additivity, String levelName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
           
static LoggerConfig AsyncLoggerConfig.createLogger(String additivity, String levelName, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
          Factory method to create a LoggerConfig.
 

Uses of PluginFactory in org.apache.logging.log4j.core.config
 

Methods in org.apache.logging.log4j.core.config with annotations of type PluginFactory
static StrLookup PropertiesPlugin.configureSubstitutor(Property[] properties, Configuration config)
          Create the Properties component.
static AppenderRef AppenderRef.createAppenderRef(String ref, org.apache.logging.log4j.Level level, Filter filter)
          Create an Appender reference.
static ConcurrentMap<String,Appender> AppendersPlugin.createAppenders(Appender[] appenders)
          Create a Map of the Appenders.
static CustomLevels CustomLevels.createCustomLevels(CustomLevelConfig[] customLevels)
          Create a CustomLevels object to contain all the CustomLevelConfigs.
static CustomLevelConfig CustomLevelConfig.createLevel(String levelName, int intLevel)
          Creates a CustomLevelConfig object.
static LoggerConfig LoggerConfig.RootLogger.createLogger(String additivity, org.apache.logging.log4j.Level level, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
           
static LoggerConfig LoggerConfig.createLogger(String additivity, org.apache.logging.log4j.Level level, String loggerName, String includeLocation, AppenderRef[] refs, Property[] properties, Configuration config, Filter filter)
          Factory method to create a LoggerConfig.
static Loggers LoggersPlugin.createLoggers(LoggerConfig[] loggers)
          Create a Loggers object to contain all the Loggers.
static Property Property.createProperty(String key, String value)
          Create a Property.
 

Uses of PluginFactory in org.apache.logging.log4j.core.filter
 

Methods in org.apache.logging.log4j.core.filter with annotations of type PluginFactory
static ThreadContextMapFilter ThreadContextMapFilter.createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
           
static StructuredDataFilter StructuredDataFilter.createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
          Create the StructuredDataFilter.
static MapFilter MapFilter.createFilter(KeyValuePair[] pairs, String oper, Filter.Result match, Filter.Result mismatch)
           
static ThresholdFilter ThresholdFilter.createFilter(org.apache.logging.log4j.Level level, Filter.Result match, Filter.Result mismatch)
          Create a ThresholdFilter.
static MarkerFilter MarkerFilter.createFilter(String marker, Filter.Result match, Filter.Result mismatch)
          Create the MarkerFilter.
static DynamicThresholdFilter DynamicThresholdFilter.createFilter(String key, KeyValuePair[] pairs, org.apache.logging.log4j.Level defaultThreshold, Filter.Result onMatch, Filter.Result onMismatch)
          Create the DynamicThresholdFilter.
static RegexFilter RegexFilter.createFilter(String regex, String[] patternFlags, Boolean useRawMsg, Filter.Result match, Filter.Result mismatch)
          Create a Filter that matches a regular expression.
static TimeFilter TimeFilter.createFilter(String start, String end, String tz, Filter.Result match, Filter.Result mismatch)
          Create a TimeFilter.
static CompositeFilter CompositeFilter.createFilters(Filter[] filters)
          Create a CompositeFilter.
 

Uses of PluginFactory in org.apache.logging.log4j.core.layout
 

Methods in org.apache.logging.log4j.core.layout with annotations of type PluginFactory
static SerializedLayout SerializedLayout.createLayout()
          Creates a SerializedLayout.
static XmlLayout XmlLayout.createLayout(boolean locationInfo, boolean properties, boolean complete, boolean compact, Charset charset)
          Creates an XML Layout.
static org.apache.logging.log4j.core.layout.AbstractJacksonLayout JsonLayout.createLayout(boolean locationInfo, boolean properties, boolean complete, boolean compact, Charset charset)
          Creates a JSON Layout.
static HtmlLayout HtmlLayout.createLayout(boolean locationInfo, String title, String contentType, Charset charset, String fontSize, String font)
          Create an HTML Layout.
static SyslogLayout SyslogLayout.createLayout(Facility facility, boolean includeNewLine, String escapeNL, Charset charset)
          Create a SyslogLayout.
static Rfc5424Layout Rfc5424Layout.createLayout(Facility facility, String id, int enterpriseNumber, boolean includeMDC, String mdcId, String mdcPrefix, String eventPrefix, boolean newLine, String escapeNL, String appName, String msgId, String excludes, String includes, String required, String exceptionPattern, boolean useTlsMessageFormat, LoggerFields[] loggerFields, Configuration config)
          Create the RFC 5424 Layout.
static PatternLayout PatternLayout.createLayout(String pattern, Configuration config, RegexReplacement replace, Charset charset, boolean alwaysWriteExceptions, boolean noConsoleNoAnsi, String header, String footer)
          Create a pattern layout.
static GelfLayout GelfLayout.createLayout(String host, KeyValuePair[] additionalFields, GelfLayout.CompressionType compressionType, int compressionThreshold)
           
static LoggerFields LoggerFields.createLoggerFields(KeyValuePair[] keyValuePairs, String sdId, String enterpriseId, boolean discardIfAllFieldsAreEmpty)
          Create a LoggerFields from KeyValuePairs.
 

Uses of PluginFactory in org.apache.logging.log4j.core.net.ssl
 

Methods in org.apache.logging.log4j.core.net.ssl with annotations of type PluginFactory
static TrustStoreConfiguration TrustStoreConfiguration.createKeyStoreConfiguration(String location, String password, String keyStoreType, String trustManagerFactoryAlgorithm)
          Creates a KeyStoreConfiguration.
static KeyStoreConfiguration KeyStoreConfiguration.createKeyStoreConfiguration(String location, String password, String keyStoreType, String keyManagerFactoryAlgorithm)
          Creates a KeyStoreConfiguration.
static SslConfiguration SslConfiguration.createSSLConfiguration(String protocol, KeyStoreConfiguration keyStoreConfig, TrustStoreConfiguration trustStoreConfig)
          Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.
 

Uses of PluginFactory in org.apache.logging.log4j.core.pattern
 

Methods in org.apache.logging.log4j.core.pattern with annotations of type PluginFactory
static RegexReplacement RegexReplacement.createRegexReplacement(Pattern regex, String replacement)
          Create a RegexReplacement.
 



Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.