Code example for AbstractBeanDefinition

Methods: setBeanClass

0
		public BeanDefinitionBuilder(String parentBeanName) {
			cbd = new GenericBeanDefinition();
		} 
		 
		public BeanDefinitionBuilder clazz(Class<?> clazz) {
			cbd.setBeanClass(clazz);
			return this;
		} 
		 
		public BeanDefinitionBuilder addRef(String name, String ref) {
			cbd.getPropertyValues().add(name, new RuntimeBeanReference(ref));
			return this;
		} 
 
		public BeanDefinitionBuilder addRef(String name, AbstractBeanDefinition beanDefinition) {
			cbd.getPropertyValues().add(name, beanDefinition);
			return this;
		} 
 
		public AbstractBeanDefinition build() {
Connect your IDE to all the code out there  Get Codota for Java