Code example for AbstractSingleBeanDefinitionParser

0
 * 
 * @author Mark Fisher 
 * @author Gary Russell 
 * @since 2.0 
 */ 
public class MBeanExporterParser extends AbstractSingleBeanDefinitionParser {
 
	private static final String MBEAN_EXPORTER_NAME = "mbeanExporter";
 
 
	@Override 
	protected boolean shouldGenerateIdAsFallback() { 
		return true; 
	} 
 
	@Override 
	protected String getBeanClassName(Element element) {
		return IntegrationMBeanExporter.class.getName();
	}