private void parseCollectorElement(Element element, ParserContext parserContext, MutablePropertyValues factoryBeanProperties, MutablePropertyValues properties) { Element collectorElement = DomUtils.getChildElementByTagName(element, COLLECTOR_ELEMENT); if(collectorElement != null) { // Only needed if a collector is used registerCollectorAnalyzerQueue(parserContext); properties.add(PARTITION_QUEUE_PROPERTY, new RuntimeBeanReference(name + "PartitionQueue")); properties.add(PARTITION_LOCK_PROPERTY, new RuntimeBeanReference(name + "PartitionLock")); factoryBeanProperties.add("partitionQueue", new RuntimeBeanReference(name + "PartitionQueue")); factoryBeanProperties.add("partitionLock", new RuntimeBeanReference(name + "PartitionLock")); String collectorName = collectorElement.getAttribute(REF); factoryBeanProperties.add(LISTENERS_PROPERTY, new RuntimeBeanReference(collectorName)); new PropertyParser(collectorName, parserContext, BatchArtifactType.STEP_ARTIFACT, name).parseProperties(collectorElement); } }
private void parseCollectorElement(Element element, ParserContext parserContext, MutablePropertyValues factoryBeanProperties, MutablePropertyValues properties) { Element collectorElement = DomUtils.getChildElementByTagName(element, COLLECTOR_ELEMENT); if(collectorElement != null) { // Only needed if a collector is used registerCollectorAnalyzerQueue(parserContext); properties.add(PARTITION_QUEUE_PROPERTY, new RuntimeBeanReference(name + "PartitionQueue")); properties.add(PARTITION_LOCK_PROPERTY, new RuntimeBeanReference(name + "PartitionLock")); factoryBeanProperties.add("partitionQueue", new RuntimeBeanReference(name + "PartitionQueue")); factoryBeanProperties.add("partitionLock", new RuntimeBeanReference(name + "PartitionLock")); String collectorName = collectorElement.getAttribute(REF); factoryBeanProperties.add(LISTENERS_PROPERTY, new RuntimeBeanReference(collectorName)); new PropertyParser(collectorName, parserContext, BatchArtifactType.STEP_ARTIFACT, name).parseProperties(collectorElement); } }
private void parseCollectorElement(Element element, ParserContext parserContext, MutablePropertyValues factoryBeanProperties, MutablePropertyValues properties) { Element collectorElement = DomUtils.getChildElementByTagName(element, COLLECTOR_ELEMENT); if(collectorElement != null) { // Only needed if a collector is used registerCollectorAnalyzerQueue(parserContext); properties.add(PARTITION_QUEUE_PROPERTY, new RuntimeBeanReference(name + "PartitionQueue")); properties.add(PARTITION_LOCK_PROPERTY, new RuntimeBeanReference(name + "PartitionLock")); factoryBeanProperties.add("partitionQueue", new RuntimeBeanReference(name + "PartitionQueue")); factoryBeanProperties.add("partitionLock", new RuntimeBeanReference(name + "PartitionLock")); String collectorName = collectorElement.getAttribute(REF); factoryBeanProperties.add(LISTENERS_PROPERTY, new RuntimeBeanReference(collectorName)); new PropertyParser(collectorName, parserContext, BatchArtifactType.STEP_ARTIFACT, name).parseProperties(collectorElement); } }
private void parseCollectorElement(Element element, ParserContext parserContext, MutablePropertyValues factoryBeanProperties, MutablePropertyValues properties) { Element collectorElement = DomUtils.getChildElementByTagName(element, COLLECTOR_ELEMENT); if(collectorElement != null) { // Only needed if a collector is used registerCollectorAnalyzerQueue(parserContext); properties.add(PARTITION_QUEUE_PROPERTY, new RuntimeBeanReference(name + "PartitionQueue")); properties.add(PARTITION_LOCK_PROPERTY, new RuntimeBeanReference(name + "PartitionLock")); factoryBeanProperties.add("partitionQueue", new RuntimeBeanReference(name + "PartitionQueue")); factoryBeanProperties.add("partitionLock", new RuntimeBeanReference(name + "PartitionLock")); String collectorName = collectorElement.getAttribute(REF); factoryBeanProperties.add(LISTENERS_PROPERTY, new RuntimeBeanReference(collectorName)); new PropertyParser(collectorName, parserContext, BatchArtifactType.STEP_ARTIFACT, name).parseProperties(collectorElement); } }