Package org.glassfish.hk2.xml.api
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 Details
-
getRootHandle
XmlRootHandle<T> getRootHandle()Gets the root handle that started this transaction- Returns:
- The root handle that began the transaction
-
commit
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
-