Package org.glassfish.hk2.xml.internal
Class XmlHandleTransactionImpl<T>
java.lang.Object
org.glassfish.hk2.xml.internal.XmlHandleTransactionImpl<T>
- All Implemented Interfaces:
XmlHandleTransaction<T>
- Author:
- jwells
-
Constructor Summary
ConstructorsConstructorDescriptionXmlHandleTransactionImpl(XmlRootHandle<T> root, DynamicChangeInfo changeInfo) -
Method Summary
-
Constructor Details
-
XmlHandleTransactionImpl
-
-
Method Details
-
getRootHandle
Description copied from interface:XmlHandleTransactionGets the root handle that started this transaction- Specified by:
getRootHandlein interfaceXmlHandleTransaction<T>- Returns:
- The root handle that began the transaction
-
commit
Description copied from interface:XmlHandleTransactionAttempts to commit all the changes in this transaction and will release the write lock- Specified by:
commitin interfaceXmlHandleTransaction<T>- Throws:
MultiException- if there was an error when committing the transaction (normally because some validator or PropertyVetoListener failed)
-
abandon
public void abandon()Description copied from interface:XmlHandleTransactionAbandons this transaction and will release the write lock- Specified by:
abandonin interfaceXmlHandleTransaction<T>
-
toString
-