ApplicationContextAware and BeanNameWare.