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

Packages that use ITransactionStrategy
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 ITransactionStrategy in org.perfectjpattern.jee.api.integration.dao
 

Methods in org.perfectjpattern.jee.api.integration.dao with parameters of type ITransactionStrategy
 void IBaseDaoFactory.setDaoTransactionStrategy(ITransactionStrategy aDaoTransactionStrategy)
          Sets the DaoTransactionStrategy
 

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

Classes in org.perfectjpattern.jee.integration.dao that implement ITransactionStrategy
 class HibernateConfiguredTransactionStrategy
          Concrete simple implementation of ITransactionStrategy corresponding to Session.getTransaction()

This strategy is mandated by the Hibernate configuration value specified in property hibernate.transaction_factory.
 class JpaManagedTransactionStrategy
          Concrete implementation of ITransactionStrategy targeting the Ejb managed environment
 class JpaTransactionStrategy
          Concrete simple implementation of ISessionStrategy targeting JPA on JSE environment
 class JtaTransactionStrategy
          Concrete implementation of ITransactionStrategy targeting the use of UserTransaction
 

Methods in org.perfectjpattern.jee.integration.dao that return ITransactionStrategy
protected  ITransactionStrategy JpaBaseDao.getTransactionStrategy()
          Returns the transactionStrategy
 

Methods in org.perfectjpattern.jee.integration.dao with parameters of type ITransactionStrategy
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.setDaoTransactionStrategy(ITransactionStrategy aTransactionStrategy)
          Sets the DaoTransactionStrategy
 

Constructors in org.perfectjpattern.jee.integration.dao with parameters of type ITransactionStrategy
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
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.