public void parseListeners( Element element, ParserContext parserContext, BeanDefinitionBuilder builder) { ManagedList<AbstractBeanDefinition> listeners = parseListeners(element, parserContext); if (listeners.size() > 0) { builder.addPropertyValue(propertyKey, listeners); } }
public void parseListeners( Element element, ParserContext parserContext, AbstractBeanDefinition bd) { ManagedList<AbstractBeanDefinition> listeners = parseListeners(element, parserContext); if (listeners.size() > 0) { bd.getPropertyValues().add(propertyKey, listeners); } }