Browse Source

add @Override in class AnnotationBeanConfigurerAspect

pull/25305/head
yanghuai9 4 years ago committed by Juergen Hoeller
parent
commit
b67de25d67
  1. 5
      spring-aspects/src/main/java/org/springframework/beans/factory/aspectj/AnnotationBeanConfigurerAspect.aj

5
spring-aspects/src/main/java/org/springframework/beans/factory/aspectj/AnnotationBeanConfigurerAspect.aj

@ -49,20 +49,23 @@ public aspect AnnotationBeanConfigurerAspect extends AbstractInterfaceDrivenDepe @@ -49,20 +49,23 @@ public aspect AnnotationBeanConfigurerAspect extends AbstractInterfaceDrivenDepe
private BeanConfigurerSupport beanConfigurerSupport = new BeanConfigurerSupport();
@Override
public void setBeanFactory(BeanFactory beanFactory) {
this.beanConfigurerSupport.setBeanWiringInfoResolver(new AnnotationBeanWiringInfoResolver());
this.beanConfigurerSupport.setBeanFactory(beanFactory);
}
@Override
public void afterPropertiesSet() {
this.beanConfigurerSupport.afterPropertiesSet();
}
@Override
public void configureBean(Object bean) {
this.beanConfigurerSupport.configureBean(bean);
}
@Override
public void destroy() {
this.beanConfigurerSupport.destroy();
}

Loading…
Cancel
Save