org.granite.tide.data
Class JPALocalTransactionManager

java.lang.Object
  extended by org.granite.tide.data.JPALocalTransactionManager
All Implemented Interfaces:
TideTransactionManager
Direct Known Subclasses:
JPATransactionManager

public class JPALocalTransactionManager
extends Object
implements TideTransactionManager

Responsible for attaching a entity with the entity mangager

Author:
cingram

Constructor Summary
JPALocalTransactionManager()
           
 
Method Summary
 Object begin(TideTransactionPersistenceManager pm)
           
 void commit(Object tx)
           
 void rollback(Object tx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPALocalTransactionManager

public JPALocalTransactionManager()
Method Detail

begin

public Object begin(TideTransactionPersistenceManager pm)
Specified by:
begin in interface TideTransactionManager

commit

public void commit(Object tx)
            throws Exception
Specified by:
commit in interface TideTransactionManager
Throws:
Exception

rollback

public void rollback(Object tx)
Specified by:
rollback in interface TideTransactionManager