Interface XmlHandleTransaction<T>

All Known Implementing Classes:
XmlHandleTransactionImpl

public interface XmlHandleTransaction<T>
Represents a transaction that must eventually be committed in order to release the write lock on the beans in the XmlRootHandle
Author:
jwells
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Abandons this transaction and will release the write lock
    void
    Attempts to commit all the changes in this transaction and will release the write lock
    Gets the root handle that started this transaction
  • Method Details

    • getRootHandle

      XmlRootHandle<T> getRootHandle()
      Gets the root handle that started this transaction
      Returns:
      The root handle that began the transaction
    • commit

      void commit() throws MultiException
      Attempts to commit all the changes in this transaction and will release the write lock
      Throws:
      MultiException - if there was an error when committing the transaction (normally because some validator or PropertyVetoListener failed)
    • abandon

      void abandon()
      Abandons this transaction and will release the write lock