Code example for AbstractSingleBeanDefinitionParser

0
 * Parser for 'xmpp:xmpp-connection' element 
 * 
 * @author Oleg Zhurakousky 
 * @since 2.0 
 */ 
public class XmppConnectionParser extends AbstractSingleBeanDefinitionParser {
 
	private static String[] connectionFactoryAttributes = new String[]{"user", "password", "resource","subscription-mode"};
 
 
	@Override 
	protected String getBeanClassName(Element element) {
		return "org.springframework.integration.xmpp.config.XmppConnectionFactoryBean"; 
	} 
 
	@Override 
	protected boolean shouldGenerateIdAsFallback() { 
		return false; 
	} 
 
Connect your IDE to all the code out there  Get Codota for Java