Examples of MapperConfigurationBeanFactory


Examples of net.freedom.gj.beans.factory.MapperConfigurationBeanFactory

        additionalConfig.setConfigurationFile("/net/freedom/gj/beans/txt/beanA-to-beanB-mapping2.txt");
        additionalConfig.setSourceType("net.freedom.gj.beans.EntityBeanA");
        additionalConfig.setTargetType("net.freedom.gj.beans.EntityBeanB");

        //Simple factory, where no CDI capability available.
        MapperConfigurationBeanFactory factory = new MapperConfigurationBeanFactory();
        factory.add(fileConfig);
        factory.add(additionalConfig);

        BeanMapperImpl beanMapper = new BeanMapperImpl();
        beanMapper.setBeanFactory(factory);

        return beanMapper;
View Full Code Here

Examples of net.freedom.gj.beans.factory.MapperConfigurationBeanFactory

        additionalConfig.setConfigurationFile("/net/freedom/gj/beans/txt/beanA-to-beanB-mapping2.txt");
        additionalConfig.setSourceType("net.freedom.gj.beans.EntityBeanA");
        additionalConfig.setTargetType("net.freedom.gj.beans.EntityBeanB");

        //Simple factory, suitable where no CDI capability available.
        MapperConfigurationBeanFactory factory = new MapperConfigurationBeanFactory();
        factory.add(fileConfig);
        factory.add(additionalConfig);

        BeanMapperImpl beanMapper = new BeanMapperImpl();
        beanMapper.setBeanFactory(factory);

        return beanMapper;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.