spring 哪个类哪个方法的获得bean
答:BeanFactory bf=new ClassPathXmlApplicationContext("ApplictionContext.xml");
xxServer xx=(xxServer)bf.getBean("beanName");
sping 的通知有几种类型
1.MethodBeforeAdvice(前置通知)
2.AfterReturingAdvice(后置通知)
3.MethodInterceptor(环绕通知)
4.ThrowAdvice(异常通知)