Coverage Report - org.mule.config.spring.parsers.assembly.TwoStageMapBeanAssemblerFactory
 
Classes in this File Line Coverage Branch Coverage Complexity
TwoStageMapBeanAssemblerFactory
0%
0/4
N/A
1
TwoStageMapBeanAssemblerFactory$BeanAssemblerStore
N/A
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.assembly;
 8  
 
 9  
 import org.mule.config.spring.parsers.assembly.configuration.PropertyConfiguration;
 10  
 
 11  
 import org.springframework.beans.factory.config.BeanDefinition;
 12  
 import org.springframework.beans.factory.support.BeanDefinitionBuilder;
 13  
 
 14  
 public class TwoStageMapBeanAssemblerFactory implements BeanAssemblerFactory
 15  
 {
 16  
 
 17  
     private BeanAssemblerStore store;
 18  
 
 19  
     public TwoStageMapBeanAssemblerFactory(BeanAssemblerStore store)
 20  0
     {
 21  0
         this.store = store;
 22  0
     }
 23  
 
 24  
     public BeanAssembler newBeanAssembler(
 25  
             PropertyConfiguration beanConfig, BeanDefinitionBuilder bean,
 26  
             PropertyConfiguration targetConfig, BeanDefinition target)
 27  
     {
 28  0
         return new TwoStageMapBeanAssembler(store, beanConfig, bean, targetConfig, target);
 29  
     }
 30  
 
 31  
     public interface BeanAssemblerStore
 32  
     {
 33  
 
 34  
         public void saveBeanAssembler(BeanAssembler beanAssembler);
 35  
 
 36  
     }
 37  
 
 38  
 
 39  
 }