public abstract class AbstractLevel1Service extends 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.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.