All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wadpam.oauth2.dao.DaoConfig Maven / Gradle / Ivy

The newest version!
package com.wadpam.oauth2.dao;

import java.util.HashMap;
import java.util.Map;
import net.sf.mardao.core.dao.DaoImpl;
import com.wadpam.oauth2.domain.DConnection;
import com.wadpam.oauth2.domain.DFactory;

/**
 * Context to define the Dao beans.
 * This file is generated by mardao, but edited by developers.
 * It is not overwritten by the generator once it exists.
 *
 * Generated on 2013-07-25T10:05:08.359+0700.
 * @author mardao DAO generator (net.sf.mardao.plugin.ProcessDomainMojo)
 */
public class DaoConfig {

    public static Map createDaos() {
        final HashMap map = new HashMap();

        // first, create and map Dao instances:
        final DConnectionDaoBean dConnectionDao =
            new DConnectionDaoBean();
        map.put(DConnection.class, dConnectionDao);
        final DFactoryDaoBean dFactoryDao =
            new DFactoryDaoBean();
        map.put(DFactory.class, dFactoryDao);

        // next, wire parents;

        // finally, wire many-to-ones;
	
        return map;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy