Code example for AbstractSingleBeanDefinitionParser

 * @author Michael Minella 
 * @author Chris Schaefer 
 * @since 3.0 
public class JsrJobParser extends AbstractSingleBeanDefinitionParser {
	private static final String ID_ATTRIBUTE = "id";
	private static final String RESTARTABLE_ATTRIBUTE = "restartable";
	protected Class<JobFactoryBean> getBeanClass(Element element) {
		return JobFactoryBean.class; 
	protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {
		CoreNamespaceUtils.autoregisterBeansForNamespace(parserContext, parserContext.extractSource(element));
		String jobName = element.getAttribute(ID_ATTRIBUTE);
Connect your IDE to all the code out there  Get Codota for Java