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

com.ivanceras.db.api.DAOFactory Maven / Gradle / Ivy

There is a newer version: 0.1.2
Show newest version
package com.ivanceras.db.api;

import com.ivanceras.db.server.util.DAOGenerator;
import com.ivanceras.db.shared.DAO;
import com.ivanceras.db.shared.exception.DAOInstanceFactoryException;

/**
 * Will be inherited from a generated class from {@link DAOGenerator#generateModelMetaData}This is only useful for GWT classes, since GWT doesn't support reflection, we will have to make a way to create
 * an instance of the classes.
 * @author lee
 *
 */
public interface DAOFactory {
	
	public  T getInstance(Class daoClass) throws DAOInstanceFactoryException;

	public  T[] getArrayInstance(Class daoClass, int n) throws DAOInstanceFactoryException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy