from http://static.springsource.org/spring/docs/1.2.x/reference/beans.html. 版本貌似很低...
Although for most scenarios, almost all user code managed by the BeanFactory does not have to be aware of the BeanFactory, the BeanFactory does have to be instantiated somehow. This can happen via explicit user code such as:
or
or