
com.github.andyshaox.jdbc.annotation.AnnotationDaoResource Maven / Gradle / Ivy
package com.github.andyshaox.jdbc.annotation;
import com.github.andyshaox.jdbc.Dao;
import com.github.andyshaox.jdbc.DaoResource;
/**
*
* Title:
* Descript:
* Copyright: Copryright(c) Mar 15, 2016
* Encoding:UNIX UTF-8
*
* @author Andy.Shao
*
*/
public class AnnotationDaoResource implements DaoResource {
private final Class> clazz;
public AnnotationDaoResource(Class> clazz) {
this.clazz = clazz;
}
@Override
public Dao getResource() {
return Daos.build(this.clazz);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy