Package org.dspace.browse
Class ItemCountDAOFactory
- java.lang.Object
-
- org.dspace.browse.ItemCountDAOFactory
-
public class ItemCountDAOFactory extends Object
Factory class to allow us to load the correct DAO for registering item count information- Author:
- Richard Jones, Ivan Masár
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ItemCountDAOgetInstance(Context context)Get an instance of ItemCountDAO which supports the correct storage backend for the specific DSpace instance.
-
-
-
Method Detail
-
getInstance
public static ItemCountDAO getInstance(Context context) throws ItemCountException
Get an instance of ItemCountDAO which supports the correct storage backend for the specific DSpace instance.- Parameters:
context- DSpace Context- Returns:
- DAO
- Throws:
ItemCountException- if count error
-
-