Interface TransactionService

All Superinterfaces:
Configurable, Service
All Known Implementing Classes:
SimpleTransactionService, TransactionServiceImpl

public interface TransactionService extends Service
Provides the ability to bundle Collection operations into a transaction.

Note: This interface needs much better definition

  • Field Details

  • Method Details

    • begin

      void begin() throws XMLDBException
      Begin the transaction
      Throws:
      XMLDBException - with expected error codes.
      ErrorCodes.VENDOR_ERROR for any vendor specific errors that occur.
    • commit

      void commit() throws XMLDBException
      Commit the transaction
      Throws:
      XMLDBException - with expected error codes.
      ErrorCodes.VENDOR_ERROR for any vendor specific errors that occur.
    • rollback

      void rollback() throws XMLDBException
      Rollback the transaction
      Throws:
      XMLDBException - with expected error codes.
      ErrorCodes.VENDOR_ERROR for any vendor specific errors that occur.