org.sapia.regis
Interface RWSession

All Superinterfaces:
RegisSession
All Known Implementing Classes:
HibernateRegisSession, LocalRegisSession

public interface RWSession
extends RegisSession

This interface extends the RegisSession interface in order to provide transaction demarcation. All write operations on a registry (and its underlying nodes) must be performed in the context of a transaction, using the transaction-demarcation methods provided by an instance of this class.

Author:
yduchesne

Method Summary
 void begin()
          Begins a new transaction.
 void commit()
          Commits the current transaction.
 void rollback()
          Rolls back the current transaction.
 
Methods inherited from interface org.sapia.regis.RegisSession
attach, close
 

Method Detail

begin

void begin()
Begins a new transaction.


commit

void commit()
Commits the current transaction.


rollback

void rollback()
Rolls back the current transaction.



Copyright © 2006 Sapia Open Community, Inc. All Rights Reserved.