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, waitgetServiceInterfaceprotected transient QueryFactory queryFactory
protected transient org.hibernate.SessionFactory sessionFactory
public final void setQueryFactory(QueryFactory factory)
public QueryFactory getQueryFactory()
public void selfConfigure()
selfConfigure in interface SelfConfigurableServiceprotected BeanHelper getBeanHelper()
public final void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
HibernateDaoSupport. Used during initialization to
create a HibernateTemplatepublic final org.hibernate.SessionFactory getSessionFactory()
HibernateDaoSupport to get the current
SessionFactoryHibernateDaoSupport.getSessionFactory()
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.