Code example for AbstractSingleBeanDefinitionParser

0
 * Parser for the <application-event-multicaster> element of the 
 * integration namespace. 
 *  
 * @author Mark Fisher 
 */ 
public class ApplicationEventMulticasterParser extends AbstractSingleBeanDefinitionParser {
 
	@Override 
	protected String getBeanClassName(Element element) {
		return "org.springframework.context.event.SimpleApplicationEventMulticaster"; 
	} 
 
	@Override 
	protected String resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext)
			throws BeanDefinitionStoreException {
		return AbstractApplicationContext.APPLICATION_EVENT_MULTICASTER_BEAN_NAME;
	} 
 
	@Override 
	protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {