public class XmlHandleTransactionImpl<T> extends Object implements XmlHandleTransaction<T>
Constructor and Description |
---|
XmlHandleTransactionImpl(XmlRootHandle<T> root,
DynamicChangeInfo changeInfo) |
Modifier and Type | Method and Description |
---|---|
void |
abandon()
Abandons this transaction and will release the write lock
|
void |
commit()
Attempts to commit all the changes in this
transaction and will release the write lock
|
XmlRootHandle<T> |
getRootHandle()
Gets the root handle that started this transaction
|
String |
toString() |
public XmlHandleTransactionImpl(XmlRootHandle<T> root, DynamicChangeInfo changeInfo)
public XmlRootHandle<T> getRootHandle()
XmlHandleTransaction
getRootHandle
in interface XmlHandleTransaction<T>
public void commit() throws MultiException
XmlHandleTransaction
commit
in interface XmlHandleTransaction<T>
MultiException
- if there was an error when committing
the transaction (normally because some validator or
PropertyVetoListener failed)public void abandon()
XmlHandleTransaction
abandon
in interface XmlHandleTransaction<T>
Copyright © 2009–2023 Oracle Corporation. All rights reserved.