public void put(String name, Class<?> clazz) {
		BeanDefinition definition = new RootBeanDefinition(clazz);
		beanFactory.registerBeanDefinition(name, definition);
	}
public void put(String name, Class<?> clazz) {
		BeanDefinition definition = new RootBeanDefinition(clazz);
		beanFactory.registerBeanDefinition(name, definition);
	}
public void put ( String name , Class < ? > clazz ) { BeanDefinition definition = new RootBeanDefinition ( clazz ) ; beanFactory . registerBeanDefinition ( name , definition ) ; }
向spring添加bean的定义
向spring添加bean的定义