Package org.dspace.browse
Class BrowseDAOFactory
- java.lang.Object
-
- org.dspace.browse.BrowseDAOFactory
-
public class BrowseDAOFactory extends Object
Factory class to generate DAOs based on the configuration- Author:
- Richard Jones
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BrowseDAOgetInstance(Context context)Get an instance of the relevant Read Only DAO class, which will conform to the BrowseDAO interface
-
-
-
Method Detail
-
getInstance
public static BrowseDAO getInstance(Context context) throws BrowseException
Get an instance of the relevant Read Only DAO class, which will conform to the BrowseDAO interface- Parameters:
context- the DSpace context- Returns:
- the relevant DAO
- Throws:
BrowseException- if browse error
-
-