有四个:(要学会去查看spring的api)
1:
Return the bean instance that uniquely matches the given object type, if any.
2: Object getBean(String name)
Return an instance, which may be shared or independent, of the specified bean.
3:
Return an instance, which may be shared or independent, of the specified bean.
4: Object getBean(String name, Object... args)
Return an instance, which may be shared or independent, of the specified bean.
2ge