静态工厂和动态工厂的区别
静态工厂
<bean id="jingtaiF" class="com.wyt.factory.jingtaiFactory" factory-method="getUsers"/>
动态工厂
<bean id="dongtaiF" class="com.wyt.factory.daotaiFactory" />
<bean id="usersF" factory-bean="dongtaiF" factory-method="getUsers"/>