private static ItemProcessor cloneItemProcessor(ItemProcessor itemProcessor) { if (itemProcessor == null) { return null; } ItemProcessor newItemProcessor = jslFactory.createItemProcessor(); newItemProcessor.setRef(itemProcessor.getRef()); newItemProcessor.setProperties(cloneJSLProperties(itemProcessor.getProperties())); return newItemProcessor; }
private static ItemProcessor cloneItemProcessor(ItemProcessor itemProcessor) { if (itemProcessor == null) { return null; } ItemProcessor newItemProcessor = jslFactory.createItemProcessor(); newItemProcessor.setRef(itemProcessor.getRef()); newItemProcessor.setProperties(cloneJSLProperties(itemProcessor.getProperties())); return newItemProcessor; }
private static ItemProcessor cloneItemProcessor(ItemProcessor itemProcessor) { if (itemProcessor == null) { return null; } ItemProcessor newItemProcessor = jslFactory.createItemProcessor(); newItemProcessor.setRef(itemProcessor.getRef()); newItemProcessor.setProperties(cloneJSLProperties(itemProcessor.getProperties())); return newItemProcessor; }
@Override public ItemProcessor substituteProperties(ItemProcessor processor, Properties submittedProps, Properties parentProps) { //resolve all the properties used in attributes and update the JAXB model processor.setRef(this.replaceAllProperties(processor.getRef(), submittedProps, parentProps)); // Resolve all the properties defined for this artifact if (processor.getProperties() != null) { this.resolveElementProperties(processor.getProperties().getPropertyList(), submittedProps, parentProps); } return processor; }
@Override public ItemProcessor substituteProperties(ItemProcessor processor, Properties submittedProps, Properties parentProps) { //resolve all the properties used in attributes and update the JAXB model processor.setRef(this.replaceAllProperties(processor.getRef(), submittedProps, parentProps)); // Resolve all the properties defined for this artifact if (processor.getProperties() != null) { this.resolveElementProperties(processor.getProperties().getPropertyList(), submittedProps, parentProps); } return processor; }
@Override public ItemProcessor substituteProperties(ItemProcessor processor, Properties submittedProps, Properties parentProps) { //resolve all the properties used in attributes and update the JAXB model processor.setRef(this.replaceAllProperties(processor.getRef(), submittedProps, parentProps)); // Resolve all the properties defined for this artifact if (processor.getProperties() != null) { this.resolveElementProperties(processor.getProperties().getPropertyList(), submittedProps, parentProps); } return processor; }
processorProxy = ProxyFactory.createItemProcessorProxy(itemProcessor.getRef(), injectionRef, runtimeStepExecution); if (logger.isLoggable(Level.FINE)) { logger.fine("Created ItemProcessorProxy for " + itemProcessor.getRef()); throw new BatchContainerServiceException("Cannot create the ItemProcessor [" + itemProcessor.getRef() + "]", e);
itemProcessorProps); processorProxy = ProxyFactory.createItemProcessorProxy(itemProcessor.getRef(), injectionRef, stepContext); if (logger.isLoggable(Level.FINE)) { logger.fine("Created ItemProcessorProxy for " + itemProcessor.getRef()); throw new BatchContainerServiceException("Cannot create the ItemProcessor [" + itemProcessor.getRef() + "]", e);
itemProcessorProps); processorProxy = ProxyFactory.createItemProcessorProxy(itemProcessor.getRef(), injectionRef, stepContext); if (logger.isLoggable(Level.FINE)) { logger.fine("Created ItemProcessorProxy for " + itemProcessor.getRef()); throw new BatchContainerServiceException("Cannot create the ItemProcessor [" + itemProcessor.getRef() + "]", e);