snaker-spring/src/main/java/org/snaker/engine/spring/SpringContext.java
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的定义