Coverage Report - org.mule.config.spring.parsers.processors.ConstructorReference
 
Classes in this File Line Coverage Branch Coverage Complexity
ConstructorReference
0%
0/5
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.config.spring.parsers.processors;
 8  
 
 9  
 import org.mule.config.spring.parsers.PostProcessor;
 10  
 import org.mule.config.spring.parsers.assembly.BeanAssembler;
 11  
 
 12  
 import org.w3c.dom.Element;
 13  
 import org.springframework.beans.factory.xml.ParserContext;
 14  
 
 15  
 public class ConstructorReference implements PostProcessor
 16  
 {
 17  
 
 18  
     public String reference;
 19  
 
 20  
     public ConstructorReference(String reference)
 21  0
     {
 22  0
         this.reference = reference;
 23  0
     }
 24  
 
 25  
     public void postProcess(ParserContext unused, BeanAssembler assembler, Element element)
 26  
     {
 27  0
         assembler.getBean().addConstructorArgReference(reference);
 28  0
     }
 29  
 
 30  
 }