Polishing

This commit is contained in:
Juergen Hoeller
2020-09-25 20:40:54 +02:00
parent 2dbceb9053
commit 7116e5f755
6 changed files with 17 additions and 12 deletions

View File

@@ -433,7 +433,8 @@ public class ConfigurationClassPostProcessor implements BeanDefinitionRegistryPo
return;
}
if (IN_NATIVE_IMAGE) {
throw new BeanDefinitionStoreException("@Configuration classes need to be marked as proxyBeanMethods=false. Found: " + configBeanDefs.keySet());
throw new BeanDefinitionStoreException("@Configuration classes need to be marked as " +
"proxyBeanMethods=false. Found: " + configBeanDefs.keySet());
}
ConfigurationClassEnhancer enhancer = new ConfigurationClassEnhancer();

View File

@@ -47,7 +47,7 @@ import org.springframework.util.StringUtils;
* @since 3.2
* @see #getSnapshotAsJson()
* @see org.springframework.web.context.support.LiveBeansViewServlet
* @deprecated as of 5.3, in favor of using Spring Boot actuators for such need.
* @deprecated as of 5.3, in favor of using Spring Boot actuators for such needs
*/
@Deprecated
public class LiveBeansView implements LiveBeansViewMBean, ApplicationContextAware {

View File

@@ -21,7 +21,7 @@ package org.springframework.context.support;
*
* @author Juergen Hoeller
* @since 3.2
* @deprecated as of 5.3, in favor of using Spring Boot actuators for such need.
* @deprecated as of 5.3, in favor of using Spring Boot actuators for such needs
*/
@Deprecated
public interface LiveBeansViewMBean {