
Spring
心灰灰
匆匆过客,仅剩回忆.
展开
-
spring (一) 不同版本加载 bean 的方式
package com.spring.hello;import org.junit.Test; import org.springframework.beans.factory.BeanFactory; import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.context.sup原创 2016-01-17 14:29:31 · 1043 阅读 · 0 评论 -
spring aop 与 aspectj
1.aop 实现MyAdvise.java package com.spring.aop;import java.lang.reflect.Method;import org.aopalliance.intercept.MethodInterceptor; import org.aopalliance.intercept.MethodInvocation; import org.aspectj.la原创 2016-03-10 18:34:47 · 524 阅读 · 0 评论 -
spring 面试题
spring问题1 什么 spring 包含哪些模块 有哪些优点 2 beanfactory和appalicationContext区别 ApplicationContext提供了一种解决文档信息的方法,一种加载文件资源的方式(如图片), 他们可以向监听他们的beans发送消息。另外,容器或者容器中beans的操作,这些必须以 bean工厂的编程方式原创 2016-03-10 18:51:55 · 1654 阅读 · 0 评论