com.j_spaces.sadapter.GenericPA
Interface ITransactionalPersistentAdapter


public interface ITransactionalPersistentAdapter

This interface should be implemented by the persistent adapter to support space transactions.


Method Summary
 void begin(PersistentContext context)
          This method called when starting a transaction.
 void commit(PersistentContext context)
          This method called when a transaction committed.
 void rollback(PersistentContext context)
          This method called when a transaction failed.
 

Method Detail

begin

void begin(PersistentContext context)
           throws SAException
This method called when starting a transaction.

Parameters:
context - Persistent implementation context
Throws:
SAException - In case a SA error occurred

commit

void commit(PersistentContext context)
            throws SAException
This method called when a transaction committed.

Parameters:
context - Persistent implementation context
Throws:
SAException - In case a SA error occurred

rollback

void rollback(PersistentContext context)
              throws SAException
This method called when a transaction failed.

Parameters:
context - Persistent implementation context
Throws:
SAException - In case a SA error occurred