Uses of Interface
org.perfectjpattern.jee.api.integration.dao.ISessionStrategy

Packages that use ISessionStrategy
org.perfectjpattern.jee.api.integration.dao Generic Data Access Object (DAO) Pattern API. 
org.perfectjpattern.jee.integration.dao Spring-based implementation of the Generic Data Access Object (DAO) Pattern. 
 

Uses of ISessionStrategy in org.perfectjpattern.jee.api.integration.dao
 

Methods in org.perfectjpattern.jee.api.integration.dao with parameters of type ISessionStrategy
 void IBaseDaoFactory.setDaoSessionStrategy(ISessionStrategy aDaoSessionStrategy)
          Sets the DaoSessionStrategy
 

Uses of ISessionStrategy in org.perfectjpattern.jee.integration.dao
 

Classes in org.perfectjpattern.jee.integration.dao that implement ISessionStrategy
 class HibernateCurrentSessionStrategy
          Concrete simple implementation of ISessionStrategy corresponding to SessionFactory.getCurrentSession()

This strategy is mandated by the Hibernate configuration value specified in property current_session_context_class e.g.
 class JpaManagedSessionStrategy
          Concrete implementation of ISessionStrategy targeting the Ejb managed environment
 class JpaSessionStrategy
          Concrete simple implementation of ISessionStrategy targeting JPA on JSE environment
 

Methods in org.perfectjpattern.jee.integration.dao that return ISessionStrategy
protected  ISessionStrategy JpaBaseDao.getSessionStrategy()
          Returns the sessionStrategy
 

Methods in org.perfectjpattern.jee.integration.dao with parameters of type ISessionStrategy
protected
<Id extends Serializable,Element>
IGenericDao<Id,Element>
HibernateDaoFactory.createDao(Class<Element> aPersistentClass, ISessionStrategy aSessionStrategy, ITransactionStrategy aTransactionStrategy)
           
protected abstract
<Id extends Serializable,Element>
IBaseDao<Id,Element>
AbstractDaoFactory.createDao(Class<Element> aPersistentClass, ISessionStrategy aSessionStrategy, ITransactionStrategy aTransactionStrategy)
           
protected
<Id extends Serializable,Element>
IBaseDao<Id,Element>
JpaDaoFactory.createDao(Class<Element> aPersistentClass, ISessionStrategy aSessionStrategy, ITransactionStrategy aTransactionStrategy)
           
 void AbstractDaoFactory.setDaoSessionStrategy(ISessionStrategy aSessionStrategy)
          Sets the DaoSessionStrategy
 void JpaManagedTransactionStrategy.setSessionStrategy(ISessionStrategy aSessionStrategy)
          Sets the sessionStrategy
 

Constructors in org.perfectjpattern.jee.integration.dao with parameters of type ISessionStrategy
HibernateConfiguredTransactionStrategy(ISessionStrategy aSessionStrategy)
           
HibernateDaoFactory(ISessionStrategy aSessionStrategy, ITransactionStrategy aTransactionStrategy)
          Constructs HibernateDaoFactory to consume Session instances from the given ISessionStrategy and Transaction instances from the ITransactionStrategy
HibernateGenericDao(Class<Element> aPersistentClass, ISessionStrategy aSessionStrategy, ITransactionStrategy aTransactionStrategy)
          Constructs a HibernateGenericDao instance from the persistent class type, the ISessionStrategy that creates Session instances and the ITransactionStrategy that creates Transaction instances
JpaBaseDao(Class<Element> aPersistentClass, ISessionStrategy aSessionStrategy, ITransactionStrategy aTransactionStrategy)
          Constructs a HibernateGenericReadOnlyDao instance from the persistent class type, the ISessionStrategy that creates ISession instances and the ITransactionStrategy that creates ITransaction instances
JpaDaoFactory(ISessionStrategy aSessionStrategy, ITransactionStrategy aTransactionStrategy)
          Constructs JpaDaoFactory to consume Session instances from the given ISessionStrategy and Transaction instances from the ITransactionStrategy
JpaTransactionStrategy(ISessionStrategy aSessionStrategy)
           
SpringGenericDao(Class<Element> aPersistentClass, ISessionStrategy aSessionStrategy, ITransactionStrategy aTransactionStrategy)
          Constructs a SpringGenericReadOnlyDao instance from the persistent class type and the ISessionStrategy that creates Session instances and the ITransactionStrategy that creates Transaction instances
 



Copyright © 2007-2009. All Rights Reserved.