01: /*
02: * $Id: DefaultBeanAssemblerFactory.java 10256 2008-01-08 15:20:25Z dfeist $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10:
11: package org.mule.config.spring.parsers.assembly;
12:
13: import org.mule.config.spring.parsers.assembly.configuration.PropertyConfiguration;
14:
15: import org.springframework.beans.factory.config.BeanDefinition;
16: import org.springframework.beans.factory.support.BeanDefinitionBuilder;
17:
18: public class DefaultBeanAssemblerFactory implements
19: BeanAssemblerFactory {
20:
21: public BeanAssembler newBeanAssembler(
22: PropertyConfiguration beanConfig,
23: BeanDefinitionBuilder bean,
24: PropertyConfiguration targetConfig, BeanDefinition target) {
25: return new DefaultBeanAssembler(beanConfig, bean, targetConfig,
26: target);
27: }
28:
29: }
|