Package org.xmldb.api.modules
Interface TransactionService
- All Superinterfaces:
Configurable
,Service
- All Known Implementing Classes:
SimpleTransactionService
,TransactionServiceImpl
Provides the ability to bundle
Collection
operations into a
transaction.
Note: This interface needs much better definition-
Field Summary
Fields -
Method Summary
Methods inherited from interface org.xmldb.api.base.Configurable
getProperty, setProperty
Methods inherited from interface org.xmldb.api.base.Service
getName, getVersion, setCollection
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
begin
Begin the transaction- Throws:
XMLDBException
- with expected error codes.
ErrorCodes.VENDOR_ERROR
for any vendor specific errors that occur.
-
commit
Commit the transaction- Throws:
XMLDBException
- with expected error codes.
ErrorCodes.VENDOR_ERROR
for any vendor specific errors that occur.
-
rollback
Rollback the transaction- Throws:
XMLDBException
- with expected error codes.
ErrorCodes.VENDOR_ERROR
for any vendor specific errors that occur.
-