org.datanucleus.jdo.connector
Class ApplicationLocalTransaction

java.lang.Object
  extended by org.datanucleus.jdo.connector.ApplicationLocalTransaction
All Implemented Interfaces:
javax.resource.cci.LocalTransaction

public class ApplicationLocalTransaction
extends java.lang.Object
implements javax.resource.cci.LocalTransaction

Application demarcated local transaction This interface is used for application level local transaction demarcation. One can use the javax.jdo or the javax.resource.cci.LocalTransaction APIs,

Version:
$Revision: 1.1 $

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

Constructor Detail

ApplicationLocalTransaction

public ApplicationLocalTransaction(PersistenceManagerImpl pm)
Constructor

Parameters:
pm - the PersistenceManager
Method Detail

begin

public void begin()
           throws javax.resource.ResourceException
Specified by:
begin in interface javax.resource.cci.LocalTransaction
Throws:
javax.resource.ResourceException

commit

public void commit()
            throws javax.resource.ResourceException
Specified by:
commit in interface javax.resource.cci.LocalTransaction
Throws:
javax.resource.ResourceException

rollback

public void rollback()
              throws javax.resource.ResourceException
Specified by:
rollback in interface javax.resource.cci.LocalTransaction
Throws:
javax.resource.ResourceException


Copyright © 2009. All Rights Reserved.