org.perfectjpattern.jee.integration.dao
Class JpaTransactionStrategy

java.lang.Object
  extended by org.perfectjpattern.jee.integration.dao.JpaTransactionStrategy
All Implemented Interfaces:
IStrategy, ITransactionStrategy

public class JpaTransactionStrategy
extends Object
implements ITransactionStrategy

Concrete simple implementation of ISessionStrategy targeting JPA on JSE environment

Version:
$Revision: 1.0 $Date: Feb 18, 2009 1:27:55 PM $
Author:
Giovanni Azua
 

Constructor Summary
JpaTransactionStrategy(ISessionStrategy aSessionStrategy)
           
 
Method Summary
 ITransaction getTransaction()
          Returns the adapted JPA implementation-specific Transaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaTransactionStrategy

public JpaTransactionStrategy(ISessionStrategy aSessionStrategy)
Method Detail

getTransaction

public ITransaction getTransaction()
Returns the adapted JPA implementation-specific Transaction

Specified by:
getTransaction in interface ITransactionStrategy
Returns:
adapted JPA implementation-specific Transaction


Copyright © 2007-2009. All Rights Reserved.