即通过id/name获得的对象是非静态的
第一步:配置xml文件
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<!--第一个bean是父容器,指定了class,第二个bean无class,而是factory-bean(即指定父容器的Bean id) 注意!-->
<bean id="furonqiHelloBean" class="com.HelloBizFactory"></bean>
<bean id