idi.diplom.linda.db.interfaces
Class DAOFactory
java.lang.Object
idi.diplom.linda.db.interfaces.DAOFactory
- Direct Known Subclasses:
- HibernateDAOFactory
public abstract class DAOFactory
- extends java.lang.Object
Field Summary |
static java.lang.Class |
HIBERNATE
Creates a standalone DAOFactory that returns unmanaged DAO
beans for use in any environment Hibernate has been configured
for. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HIBERNATE
public static final java.lang.Class HIBERNATE
- Creates a standalone DAOFactory that returns unmanaged DAO
beans for use in any environment Hibernate has been configured
for. Uses HibernateUtil/SessionFactory and Hibernate context
propagation (CurrentSessionContext), thread-bound or transaction-bound,
and transaction scoped.
DAOFactory
public DAOFactory()
instance
public static DAOFactory instance(java.lang.Class factory)
- Factory method for instantiation of concrete factories.
getAlarmDAO
public abstract AlarmDAO getAlarmDAO()
getMedPacketDAO
public abstract MedPacketDAO getMedPacketDAO()
getNoteDAO
public abstract NoteDAO getNoteDAO()
getPatientDAO
public abstract PatientDAO getPatientDAO()