Coverage Report - org.mule.config.spring.parsers.delegate.AbstractSingleParentFamilyChildDefinitionParser
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractSingleParentFamilyChildDefinitionParser
0%
0/5
N/A
1
 
 1  
 /*
 2  
  * $Id: AbstractSingleParentFamilyChildDefinitionParser.java 10256 2008-01-08 15:20:25Z dfeist $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.config.spring.parsers.delegate;
 12  
 
 13  
 import org.mule.config.spring.parsers.MuleChildDefinitionParser;
 14  
 import org.mule.config.spring.parsers.MuleDefinitionParser;
 15  
 import org.mule.config.spring.parsers.MuleDefinitionParserConfiguration;
 16  
 import org.mule.config.spring.parsers.assembly.configuration.PropertyConfiguration;
 17  
 
 18  
 import org.springframework.beans.factory.config.BeanDefinition;
 19  
 
 20  
 
 21  0
 public class AbstractSingleParentFamilyChildDefinitionParser
 22  
     extends AbstractSingleParentFamilyDefinitionParser implements MuleChildDefinitionParser
 23  
 {
 24  
 
 25  
     protected MuleDefinitionParserConfiguration addDelegate(MuleDefinitionParser delegate)
 26  
     {
 27  0
         return addDelegateAsChild(delegate);
 28  
     }
 29  
 
 30  
     public void forceParent(BeanDefinition parent)
 31  
     {
 32  0
         ((MuleChildDefinitionParser) getDelegate(0)).forceParent(parent);
 33  0
     }
 34  
 
 35  
     public PropertyConfiguration getTargetPropertyConfiguration()
 36  
     {
 37  0
         return ((MuleChildDefinitionParser) getDelegate(0)).getTargetPropertyConfiguration();
 38  
     }
 39  
 
 40  
 }