public class DAOHandler extends java.lang.Object
Constructor and Description |
---|
DAOHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close()
close the handler and release all resources
|
<T extends SolrDAO> |
getSolrDAO(java.lang.Class<T> cls)
Note: the comparison is done using exactly the given class, no super or sub class of the type will be returned.
|
<T extends SQLDAO> |
getSQLDAO(java.lang.Class<T> cls)
Note: the comparison is done using exactly the given class, no super or sub class of the type will be returned.
|
public DAOHandler() throws org.springframework.beans.BeansException
org.springframework.beans.BeansException
public void close()
public <T extends SQLDAO> T getSQLDAO(java.lang.Class<T> cls)
cls
- public <T extends SolrDAO> T getSolrDAO(java.lang.Class<T> cls)
cls
- Copyright © 2015 Tampere University of Technology, Pori Department.