ome.logic
Class AbstractLevel1Service

java.lang.Object
  extended by ome.logic.AbstractLevel1Service
All Implemented Interfaces:
SelfConfigurableService
Direct Known Subclasses:
QueryImpl, UpdateImpl

public abstract class AbstractLevel1Service
extends Object
implements SelfConfigurableService

service level 1

Since:
OMERO 3.0
Version:
1.0 (Internal version: $Rev: 3747 $ $Date: 2006-12-15 11:39:34 +0100 (Fri, 15 Dec 2006) $)
Author:
Josh Moore, josh.moore@gmx.de

Field Summary
protected  QueryFactory queryFactory
           
protected  org.hibernate.SessionFactory sessionFactory
           
 
Constructor Summary
AbstractLevel1Service()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ome.system.SelfConfigurableService
getServiceInterface
 

Field Detail

queryFactory

protected transient QueryFactory queryFactory

sessionFactory

protected transient org.hibernate.SessionFactory sessionFactory
Constructor Detail

AbstractLevel1Service

public AbstractLevel1Service()
Method Detail

setQueryFactory

public final void setQueryFactory(QueryFactory factory)

getQueryFactory

public QueryFactory getQueryFactory()

selfConfigure

public void selfConfigure()
This method was previously called by the EJB container, but is no longer needed. Instead, all configuration happens within Spring.

Specified by:
selfConfigure in interface SelfConfigurableService

getBeanHelper

protected BeanHelper getBeanHelper()

setSessionFactory

public final void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
delegates to HibernateDaoSupport. Used during initialization to create a HibernateTemplate

See Also:
HibernateDaoSupport.setSessionFactory(SessionFactory)

getSessionFactory

public final org.hibernate.SessionFactory getSessionFactory()
delegates to HibernateDaoSupport to get the current SessionFactory

See Also:
HibernateDaoSupport.getSessionFactory()


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.