Code example for BeanDefinitionHolder

Methods: getBeanDefinition

0
	private static class ObjectNameBeanDefinitionDecorator implements BeanDefinitionDecorator { 
 
		@Override 
		public BeanDefinitionHolder decorate(Node node, BeanDefinitionHolder definition, ParserContext parserContext) { 
			Attr objectNameAttribute = (Attr) node; 
			definition.getBeanDefinition().setAttribute("objectName", objectNameAttribute.getValue()); 
			return definition; 
		} 
	} 
} 
 
Contextual code suggestions in your IDE  Get Codota for Java