Skip to content

Commit 0229ac8

Browse files
committed
Add source for RESET_BEAN_NAME configuration
Add a source attribute to the @ConfigurationProperty on RESET_BEAN_NAME_PROPERTY_NAME by importing APPLICATION_SOURCE and setting source = APPLICATION_SOURCE. This provides metadata about the configuration property's origin and includes a minor annotation formatting adjustment.
1 parent 1725866 commit 0229ac8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

microsphere-spring-context/src/main/java/io/microsphere/spring/context/event/InterceptingApplicationEventMulticasterProxy.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import java.util.concurrent.Executor;
3939
import java.util.function.Predicate;
4040

41+
import static io.microsphere.annotation.ConfigurationProperty.APPLICATION_SOURCE;
4142
import static io.microsphere.collection.MapUtils.newLinkedHashMap;
4243
import static io.microsphere.concurrent.ExecutorUtils.shutdownOnExit;
4344
import static io.microsphere.reflect.MethodUtils.findDeclaredMethod;
@@ -72,7 +73,8 @@ public class InterceptingApplicationEventMulticasterProxy extends GenericBeanPos
7273
*/
7374
@ConfigurationProperty(
7475
defaultValue = DEFAULT_RESET_BEAN_NAME,
75-
description = "The property name of the reset bean name of ApplicationEventMulticaster"
76+
description = "The property name of the reset bean name of ApplicationEventMulticaster",
77+
source = APPLICATION_SOURCE
7678
)
7779
public static final String RESET_BEAN_NAME_PROPERTY_NAME = "microsphere.spring.application-event-multicaster.reset-bean-name";
7880

0 commit comments

Comments
 (0)