public abstract class AbstractLevel1Service
extends java.lang.Object
implements ome.system.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 . |
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 ome.system.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()