![JAR search and dependency download from the Maven repository](/logo.png)
com.wadpam.oauth2.dao.DaoConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oauth2-client Show documentation
Show all versions of oauth2-client Show documentation
Implements OAuth2 authentication on top of Open-Server security
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