org.icenigrid.gridsam.core.plugin
Interface Transaction


public interface Transaction

Interface defining operations to deal with a persistence transaction

Author:
wwhl

Method Summary
 void commit()
          commit a previously started transaction
 void rollback()
          rollback a previously started transaction
 

Method Detail

commit

void commit()
            throws PersistenceException,
                   java.util.ConcurrentModificationException
commit a previously started transaction

Throws:
PersistenceException - if the transaction cannot be committed
java.util.ConcurrentModificationException

rollback

void rollback()
              throws PersistenceException
rollback a previously started transaction

Throws:
PersistenceException - if the transaction cannot be rollbacked


Copyright © 2008. All Rights Reserved.