Skip to content

Commit 821a8ee

Browse files
chenqimiaojhoeller
authored andcommitted
Improve Javadoc in Configuration
1 parent 0463d7f commit 821a8ee

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spring-context/src/main/java/org/springframework/context/annotation/Configuration.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -446,11 +446,11 @@
446446
* requires method interception, implemented through a runtime-generated CGLIB
447447
* subclass which comes with limitations such as the configuration class and
448448
* its methods not being allowed to declare {@code final}.
449-
* <p>The default is {@code true}, allowing for 'inter-bean references' within
450-
* the configuration class as well as for external calls to this configuration's
451-
* {@code @Bean} methods, e.g. from another configuration class. If this is not
452-
* needed since each of this particular configuration's {@code @Bean} methods
453-
* is self-contained and designed as a plain factory method for container use,
449+
* <p>The default is {@code true}, allowing for 'inter-bean references' via direct
450+
* method call within the configuration class as well as for external calls to
451+
* this configuration's {@code @Bean} methods, e.g. from another configuration class.
452+
* If this is not needed since each of this particular configuration's {@code @Bean}
453+
* methods is self-contained and designed as a plain factory method for container use,
454454
* switch this flag to {@code false} in order to avoid CGLIB subclass processing.
455455
* <p>Turning off bean method interception effectively processes {@code @Bean}
456456
* methods individually like when declared on non-{@code @Configuration} classes,

0 commit comments

Comments
 (0)