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 Configurable
getProperty, setPropertyMethods inherited from interface Service
getName, getVersion, setCollection
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
begin
Begin the transaction- Throws:
XMLDBException- with expected error codes.
ErrorCodes.VENDOR_ERRORfor any vendor specific errors that occur.
-
commit
Commit the transaction- Throws:
XMLDBException- with expected error codes.
ErrorCodes.VENDOR_ERRORfor any vendor specific errors that occur.
-
rollback
Rollback the transaction- Throws:
XMLDBException- with expected error codes.
ErrorCodes.VENDOR_ERRORfor any vendor specific errors that occur.
-