org.perfectjpattern.jee.integration.dao
Class JpaManagedTransactionStrategy
java.lang.Object
org.perfectjpattern.jee.integration.dao.JpaManagedTransactionStrategy
- All Implemented Interfaces:
- IStrategy, ITransactionStrategy
public final class JpaManagedTransactionStrategy
- extends Object
- implements ITransactionStrategy
Concrete implementation of ITransactionStrategy
targeting
the Ejb managed environment
- Version:
- $Revision: 1.0 $Date: Feb 8, 2009 5:24:51 PM $
- Author:
- Giovanni Azua
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JpaManagedTransactionStrategy
public JpaManagedTransactionStrategy()
setSessionStrategy
public final void setSessionStrategy(ISessionStrategy aSessionStrategy)
- Sets the sessionStrategy
- Parameters:
anSessionStrategy
- the sessionStrategy to set
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.