Java 类org.apache.logging.log4j.core.config.plugins.PluginBuilderFactory 实例源码

项目:logging-log4j2    文件:PluginBuilder.java   
private static Builder<?> createBuilder(final Class<?> clazz)
    throws InvocationTargetException, IllegalAccessException {
    for (final Method method : clazz.getDeclaredMethods()) {
        if (method.isAnnotationPresent(PluginBuilderFactory.class) &&
            Modifier.isStatic(method.getModifiers()) &&
            TypeUtil.isAssignable(Builder.class, method.getReturnType())) {
            ReflectionUtil.makeAccessible(method);
            return (Builder<?>) method.invoke(null);
        }
    }
    return null;
}
项目:log4j2-redis-appender    文件:RedisAppender.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:log4j2-redis-appender    文件:RedisThrottlerConfig.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:log4j2-redis-appender    文件:RedisConnectionPoolConfig.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:rocketmq-rocketmq-all-4.1.0-incubating    文件:RocketmqLog4j2Appender.java   
/**
 * Log4j2 builder creator
 */
@PluginBuilderFactory
public static RocketmqLog4j2Appender.Builder newBuilder() {
    return new RocketmqLog4j2Appender.Builder();
}
项目:es-log4j2-appender    文件:HttpAddress.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:log4j2-extended-jsonlayout    文件:ExtendedJsonLayout.java   
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
    return new Builder<B>().asBuilder();
}
项目:log4j2-extended-jsonlayout    文件:ListAppender.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:log4j2-logstash-layout    文件:LogstashLayout.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:log4j2-elasticsearch    文件:BulkProcessorObjectFactory.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:log4j2-elasticsearch    文件:BulkProcessorObjectFactory.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:log4j2-elasticsearch    文件:JestHttpObjectFactory.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:log4j2-elasticsearch    文件:NoopFailoverPolicy.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:log4j2-elasticsearch    文件:AsyncBatchDelivery.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:log4j2-elasticsearch    文件:ElasticsearchAppender.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:log4j2-elasticsearch    文件:RollingIndexNameFormatter.java   
@PluginBuilderFactory
public static RollingIndexNameFormatter.Builder newBuilder() {
    return new RollingIndexNameFormatter.Builder();
}
项目:log4j2-elasticsearch    文件:IndexTemplate.java   
@PluginBuilderFactory
public static IndexTemplate.Builder newBuilder() {
    return new IndexTemplate.Builder();
}
项目:log4j2-elasticsearch    文件:NoopIndexNameFormatter.java   
@PluginBuilderFactory
public static NoopIndexNameFormatter.Builder newBuilder() {
    return new NoopIndexNameFormatter.Builder();
}
项目:log4j2-elasticsearch    文件:TestHttpObjectFactory.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:rocketmq    文件:RocketmqLog4j2Appender.java   
/**
 * Log4j2 builder creator
 */
@PluginBuilderFactory
public static RocketmqLog4j2Appender.Builder newBuilder() {
    return new RocketmqLog4j2Appender.Builder();
}
项目:logging-log4j2    文件:CassandraAppender.java   
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
    return new Builder<B>().asBuilder();
}
项目:logging-log4j2    文件:PoolingDriverConnectionSource.java   
@PluginBuilderFactory
public static <B extends Builder<B>> B newPoolingDriverConnectionSourceBuilder() {
    return new Builder<B>().asBuilder();
}
项目:logging-log4j2    文件:JmsAppender.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:logging-log4j2    文件:KafkaAppender.java   
/**
 * Creates a builder for a KafkaAppender.
 * @return a builder for a KafkaAppender.
 */
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
    return new Builder<B>().asBuilder();
}
项目:logging-log4j2    文件:ServletAppender.java   
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
    return new Builder<B>().asBuilder();
}
项目:logging-log4j2    文件:KeyValuePair.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:logging-log4j2    文件:SocketPerformancePreferences.java   
@PluginBuilderFactory
public static SocketPerformancePreferences newBuilder() {
    return new SocketPerformancePreferences();
}
项目:logging-log4j2    文件:SocketAddress.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:logging-log4j2    文件:SocketOptions.java   
@PluginBuilderFactory
public static SocketOptions newBuilder() {
    return new SocketOptions();
}
项目:logging-log4j2    文件:AsyncAppender.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:logging-log4j2    文件:NoSqlAppender.java   
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
    return new Builder<B>().asBuilder();
}
项目:logging-log4j2    文件:HttpAppender.java   
/**
 * @return a builder for a HttpAppender.
 */
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
    return new Builder<B>().asBuilder();
}
项目:logging-log4j2    文件:ConsoleAppender.java   
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
    return new Builder<B>().asBuilder();
}
项目:logging-log4j2    文件:Routes.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:logging-log4j2    文件:RoutingAppender.java   
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
    return new Builder<B>().asBuilder();
}
项目:logging-log4j2    文件:SyslogAppender.java   
@PluginBuilderFactory
public static <B extends Builder<B>> B newSyslogAppenderBuilder() {
    return new Builder<B>().asBuilder();
}
项目:logging-log4j2    文件:OutputStreamAppender.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:logging-log4j2    文件:WriterAppender.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:logging-log4j2    文件:DirectWriteRolloverStrategy.java   
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
项目:logging-log4j2    文件:TimeBasedTriggeringPolicy.java   
@PluginBuilderFactory
public static TimeBasedTriggeringPolicy.Builder newBuilder() {
    return new Builder();
}