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
           
 
Fields inherited from class org.sixdml.xindice.xiServiceBase
collection, properties
 
Fields inherited from interface org.sixdml.SixdmlConstants
SIXDML_NS, SIXDML_VERSION
 
Constructor Summary
xiSixdmlTransactionService()
          Creates a new instance of xiSixdmlTransactionService
 
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 org.sixdml.xindice.xiServiceBase
getProperty, getVersion, setCollection, setProperty
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface org.xmldb.api.base.Service
getVersion, setCollection
 
Methods inherited from interface org.xmldb.api.base.Configurable
getProperty, setProperty
 

Field Detail

active

boolean active
Constructor Detail

xiSixdmlTransactionService

public xiSixdmlTransactionService()
Creates a new instance of xiSixdmlTransactionService
Method Detail

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