public abstract class AbstractLevel1Service extends java.lang.Object implements SelfConfigurableService
Modifier and Type | Field and Description |
---|---|
protected QueryFactory |
queryFactory |
protected org.hibernate.SessionFactory |
sessionFactory |
Constructor and Description |
---|
AbstractLevel1Service() |
Modifier and Type | Method and Description |
---|---|
protected BeanHelper |
getBeanHelper() |
QueryFactory |
getQueryFactory() |
org.hibernate.SessionFactory |
getSessionFactory()
delegates to
HibernateDaoSupport to get the current
SessionFactory |
void |
selfConfigure()
This method was previously called by the EJB container, but is no longer
needed.
|
void |
setQueryFactory(QueryFactory factory) |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
delegates to
HibernateDaoSupport . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceInterface
protected transient QueryFactory queryFactory
protected transient org.hibernate.SessionFactory sessionFactory
public final void setQueryFactory(QueryFactory factory)
public QueryFactory getQueryFactory()
public void selfConfigure()
selfConfigure
in interface SelfConfigurableService
protected BeanHelper getBeanHelper()
public final void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
HibernateDaoSupport
. Used during initialization to
create a HibernateTemplate
HibernateDaoSupport.setSessionFactory(SessionFactory)
public final org.hibernate.SessionFactory getSessionFactory()
HibernateDaoSupport
to get the current
SessionFactory
HibernateDaoSupport.getSessionFactory()
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.