private void registerAspect ( BeanDefinitionRegistry registry ) { GenericBeanDefinition beanDefinition = new GenericBeanDefinition ( ) ; beanDefinition . setBeanClass ( DisconfAspectJ . class ) ; beanDefinition . setLazyInit ( false ) ; beanDefinition . setAbstract ( false ) ; beanDefinition . setAutowireCandidate ( true ) ; beanDefinition . setScope ( "singleton" ) ; registry . registerBeanDefinition ( "disconfAspectJ" , beanDefinition ) ; }
register aspectJ for disconf get request