我是一个初学者,最近练习spring,在applicationContext.xml里面定义了bean,
<bean id="filesDoctor_Dao" class="com.hpsystem.dao.impl.FilesDoctorDaoImpl"/>
<bean id="filesDoctorBusiness" class="com.hpsystem.business.impl.FilesDoctorBusinessImpl" >
<property name="filesDoctorDao" ><ref bean="filesDoctor_Dao"/></property>
</bean>
然后从后台取,我想请教大家,这种方式使用了cglib了吗(面向类的),如果是的话,我并没有使用相关的cglib包,求解释!!
谢谢大家!!
------解决方案--------------------
一个是jdk 还有个是cglib 一个 是接口一个是类。
代理模式。
------解决方案--------------------
aop涉及到,看cglib 首先要清楚代理模式,访问者模式及责任链模式