Package org.hoteia.qalingo.core.dozer

Source Code of org.hoteia.qalingo.core.dozer.CatalogCategoryCustomBeanFactory

/**
* Most of the code in the Qalingo project is copyrighted Hoteia and licensed
* under the Apache License Version 2.0 (release version 0.8.0)
*         http://www.apache.org/licenses/LICENSE-2.0
*
*                   Copyright (c) Hoteia, 2012-2014
* http://www.hoteia.com - http://twitter.com/hoteia - contact@hoteia.com
*
*/
package org.hoteia.qalingo.core.dozer;

import org.dozer.BeanFactory;

import org.hoteia.qalingo.core.pojo.catalog.BoCatalogCategoryPojo;

public class CatalogCategoryCustomBeanFactory implements BeanFactory  {

    @Override
    public Object createBean(Object source, Class<?> sourceClass, String targetBeanId) {
        return new BoCatalogCategoryPojo();
    }

}
TOP

Related Classes of org.hoteia.qalingo.core.dozer.CatalogCategoryCustomBeanFactory

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.