|
1 | 1 | /*
|
2 |
| - * Copyright 2002-2019 the original author or authors. |
| 2 | + * Copyright 2002-2020 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
|
446 | 446 | * requires method interception, implemented through a runtime-generated CGLIB
|
447 | 447 | * subclass which comes with limitations such as the configuration class and
|
448 | 448 | * 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, |
454 | 454 | * switch this flag to {@code false} in order to avoid CGLIB subclass processing.
|
455 | 455 | * <p>Turning off bean method interception effectively processes {@code @Bean}
|
456 | 456 | * methods individually like when declared on non-{@code @Configuration} classes,
|
|
0 commit comments