org.sixdml.xindice
Class xiSixdmlTransactionService
java.lang.Object
|
+--org.sixdml.xindice.xiServiceBase
|
+--org.sixdml.xindice.xiSixdmlTransactionService
- All Implemented Interfaces:
- Configurable, Service, SixdmlConstants, SixdmlTransactionService, TransactionService
- class xiSixdmlTransactionService
- extends xiServiceBase
- implements SixdmlTransactionService
xiSixdmlTransactionService.java
This class is a place holder since Xindice does not support transactions.
Created on April 27, 2002, 9:10 PM
|
Field Summary |
(package private) boolean |
active
|
|
Method Summary |
void |
begin()
|
void |
commit()
|
String |
getName()
Gets the name of the service. |
boolean |
isActive()
Returns true if there is currently a transaction open that is neither
committed nor aborted; returns false otherwise. |
void |
rollback()
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
active
boolean active
xiSixdmlTransactionService
public xiSixdmlTransactionService()
- Creates a new instance of xiSixdmlTransactionService
begin
public void begin()
throws XMLDBException
- Specified by:
begin in interface TransactionService
commit
public void commit()
throws XMLDBException
- Specified by:
commit in interface TransactionService
getName
public String getName()
- Description copied from class:
xiServiceBase
- Gets the name of the service.
- Specified by:
getName in interface Service- Overrides:
getName in class xiServiceBase
- Following copied from class:
org.sixdml.xindice.xiServiceBase
- Returns:
- the name of the service.
isActive
public boolean isActive()
- Returns true if there is currently a transaction open that is neither
committed nor aborted; returns false otherwise.
- Specified by:
isActive in interface SixdmlTransactionService
- Returns:
- true if there is currently a transaction open that is neither
committed nor aborted; returns false otherwise.
rollback
public void rollback()
throws XMLDBException
- Specified by:
rollback in interface TransactionService