Created
August 19, 2012 10:13
-
-
Save jadianes/3394112 to your computer and use it in GitHub Desktop.
The Dao factory interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.jadianes.samples.genericdao.factory; | |
import com.jadianes.samples.genericdao.datasource.DataSource; | |
/** | |
* An abstract factory interface representing Dao factories for a particular data source. Implementations of this | |
* interface will typically offer methods to obtain Dao instances for the given DataSource. The use of | |
* factories is optional in the Dao libraries. They are actually traversal to different ModelEntities and vertical | |
* to specific data sources. However, they will increase the portability of business layers across multiple data sources. | |
*/ | |
public interface DaoFactory<E extends DataSource> { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment