static BeanDefinitionBuilder configure(Element element, ParserContext parserContext) {
		BeanDefinitionBuilder builder = BeanDefinitionBuilder.genericBeanDefinition(HdfsStoreMessageHandlerFactoryBean.class);
		IntegrationNamespaceUtils.setReferenceIfAttributeDefined(builder, element, "writer", "storeWriter");
		IntegrationNamespaceUtils.setValueIfAttributeDefined(builder, element, "auto-startup");
		return builder;
	}
Builds and configures a {@link BeanDefinitionBuilder} for {@link HdfsStoreMessageHandlerFactoryBean}.

@param element The element.
@param parserContext The parser context.
@return The bean definition builder
spring-xd-hadoop/src/main/java/org/springframework/xd/integration/hadoop/config/HdfsStoreMessageHandlerBeanDefinitionBuilder.java