org.apache.logging.log4j.core.config.plugins.PluginBuilderFactory Java Examples

The following examples show how to use org.apache.logging.log4j.core.config.plugins.PluginBuilderFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BasicCredentials.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static BasicCredentials.Builder newBuilder() {
    return new BasicCredentials.Builder();
}
 
Example #2
Source File: Log4j2BatchLimitBackoffPolicy.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static Log4j2BatchLimitBackoffPolicy.Builder newBuilder() {
    return new Log4j2BatchLimitBackoffPolicy.Builder();
}
 
Example #3
Source File: ClientSetting.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static final Builder newBuilder() {
    return new Builder();
}
 
Example #4
Source File: BulkProcessorObjectFactory.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
 
Example #5
Source File: XPackAuth.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static XPackAuth.Builder newBuilder() {
    return new XPackAuth.Builder();
}
 
Example #6
Source File: CustomField.java    From cf-java-logging-support with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static Builder newBuilder() {
	return new Builder();
}
 
Example #7
Source File: RocketmqLog4j2Appender.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
/**
 * Log4j2 builder creator
 */
@PluginBuilderFactory
public static RocketmqLog4j2Appender.Builder newBuilder() {
    return new RocketmqLog4j2Appender.Builder();
}
 
Example #8
Source File: PulsarAppender.java    From pulsar with Apache License 2.0 4 votes vote down vote up
/**
 * Creates a builder for a PulsarAppender.
 * @return a builder for a PulsarAppender.
 */
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
    return new Builder<B>().asBuilder();
}
 
Example #9
Source File: KafkaAppender.java    From tutorials with MIT License 4 votes vote down vote up
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
 
Example #10
Source File: JsonTemplateLayout.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
@SuppressWarnings("WeakerAccess")
public static Builder newBuilder() {
    return new Builder();
}
 
Example #11
Source File: JsonTemplateLayout.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
 
Example #12
Source File: JsonTemplateLayout.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static EventTemplateAdditionalField.Builder newBuilder() {
    return new EventTemplateAdditionalField.Builder();
}
 
Example #13
Source File: MongoDb4Provider.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
    return new Builder<B>().asBuilder();
}
 
Example #14
Source File: TextAreaAppender.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static <B extends Builder<B>> B newBuilder() {
  return new Builder<B>().asBuilder();
}
 
Example #15
Source File: HCHttp.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static HCHttp.Builder newBuilder() {
    return new HCHttp.Builder();
}
 
Example #16
Source File: PEMCertInfo.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static PEMCertInfo.Builder newBuilder() {
    return new PEMCertInfo.Builder();
}
 
Example #17
Source File: JKSCertInfo.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
 
Example #18
Source File: Security.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static Security.Builder newBuilder() {
    return new Security.Builder();
}
 
Example #19
Source File: TestHttpObjectFactory.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
 
Example #20
Source File: JacksonMixIn.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static JacksonMixIn.Builder newBuilder() {
    return new JacksonMixIn.Builder();
}
 
Example #21
Source File: JacksonJsonLayout.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static JacksonJsonLayout.Builder newBuilder() {
    return new JacksonJsonLayout.Builder();
}
 
Example #22
Source File: NoopIndexNameFormatter.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static NoopIndexNameFormatter.Builder newBuilder() {
    return new NoopIndexNameFormatter.Builder();
}
 
Example #23
Source File: ChronicleMapRetryFailoverPolicy.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static ChronicleMapRetryFailoverPolicy.Builder newBuilder() {
    return new Builder();
}
 
Example #24
Source File: Log4j2SingleKeySequenceSelector.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static Log4j2SingleKeySequenceSelector.Builder newBuilder() {
    return new Log4j2SingleKeySequenceSelector.Builder();
}
 
Example #25
Source File: AppenderRefFailoverPolicy.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static AppenderRefFailoverPolicy.Builder newBuilder() {
    return new AppenderRefFailoverPolicy.Builder();
}
 
Example #26
Source File: IndexTemplate.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static IndexTemplate.Builder newBuilder() {
    return new IndexTemplate.Builder();
}
 
Example #27
Source File: VirtualProperty.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
 
Example #28
Source File: RollingIndexNameFormatter.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static RollingIndexNameFormatter.Builder newBuilder() {
    return new RollingIndexNameFormatter.Builder();
}
 
Example #29
Source File: ElasticsearchAppender.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static Builder newBuilder() {
    return new Builder();
}
 
Example #30
Source File: PooledItemSourceFactory.java    From log4j2-elasticsearch with Apache License 2.0 4 votes vote down vote up
@PluginBuilderFactory
public static PooledItemSourceFactory.Builder newBuilder() {
    return new PooledItemSourceFactory.Builder();
}