jvz commented on code in PR #2148:
URL: https://github.com/apache/logging-log4j2/pull/2148#discussion_r1439712072


##########
log4j-core-test/src/main/java/org/apache/logging/log4j/core/test/junit/TestBindings.java:
##########
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.logging.log4j.core.test.junit;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation container for multiple {@link TestBinding} annotations.
+ */
+@Target({ElementType.TYPE, ElementType.METHOD})
+@Retention(RetentionPolicy.RUNTIME)
+@Inherited
+public @interface TestBindings {

Review Comment:
   Done.



##########
src/changelog/.3.x.x/2147_add_instance_factory_dsls.xml:
##########
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns="http://logging.apache.org/log4j/changelog";
+       xsi:schemaLocation="http://logging.apache.org/log4j/changelog 
https://logging.apache.org/log4j/changelog-0.1.3.xsd";
+       type="added">
+  <issue id="2147" 
link="https://github.com/apache/logging-log4j2/issues/2147"/>
+  <description format="asciidoc">
+    Add various DSLs for dependency injection. This includes:
+
+    - `DI.FactoryBuilder` and related builder classes for configuring a 
`ConfigurableInstanceFactory`.
+    - Repeatable `@TestBinding` test annotation for specifying simple bindings 
in tests.
+    - `@LegacyLoggerContextSource` test annotation for specifying v1-style 
configuration files.
+    - Test extension updates to improve compatibility of different annotations.

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to