Examples of ExceptionElementParser


Examples of org.springframework.batch.core.configuration.xml.ExceptionElementParser

          propertyValues.addPropertyValue("stepItemWriter", new RuntimeBeanReference(artifactName));
        }

        new PropertyParser(artifactName, parserContext, BatchArtifactType.STEP_ARTIFACT, stepName).parseProperties(nestedElement);
      } else if(name.equals(SKIPPABLE_EXCEPTION_CLASSES_ELEMENT)) {
        ManagedMap<TypedStringValue, Boolean> exceptionClasses = new ExceptionElementParser().parse(element, parserContext, SKIPPABLE_EXCEPTION_CLASSES_ELEMENT);
        if(exceptionClasses != null) {
          propertyValues.addPropertyValue("skippableExceptionClasses", exceptionClasses);
        }
      } else if(name.equals(RETRYABLE_EXCEPTION_CLASSES_ELEMENT)) {
        ManagedMap<TypedStringValue, Boolean> exceptionClasses = new ExceptionElementParser().parse(element, parserContext, RETRYABLE_EXCEPTION_CLASSES_ELEMENT);
        if(exceptionClasses != null) {
          propertyValues.addPropertyValue("retryableExceptionClasses", exceptionClasses);
        }
      } else if(name.equals(NO_ROLLBACK_EXCEPTION_CLASSES_ELEMENT)) {
        //TODO: Update to support excludes
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.