fr.dyade.aaa.util
Class DerbyDBTransaction

java.lang.Object
  extended by fr.dyade.aaa.util.AbstractTransaction
      extended by fr.dyade.aaa.util.DBTransaction
          extended by fr.dyade.aaa.util.DerbyDBTransaction
All Implemented Interfaces:
DBTransactionMBean, Transaction, TransactionMBean

public final class DerbyDBTransaction
extends DBTransaction

The DerbyDBTransaction class implements a transactionnal storage through a Derby embeded database.

See Also:
Transaction

Nested Class Summary
 
Nested classes/interfaces inherited from class fr.dyade.aaa.util.AbstractTransaction
AbstractTransaction.Context
 
Field Summary
private  java.lang.String connurl
           
private  java.lang.String driver
           
 
Fields inherited from class fr.dyade.aaa.util.DBTransaction
conn, dir, logmon, LogThresholdOperation, startTime
 
Fields inherited from class fr.dyade.aaa.util.AbstractTransaction
OOS_STREAM_HEADER, perThreadContext, phase
 
Fields inherited from interface fr.dyade.aaa.util.Transaction
COMMIT, FINALIZE, FREE, GARBAGE, INIT, Kb, Mb, PhaseInfo, ROLLBACK, RUN
 
Constructor Summary
DerbyDBTransaction()
           
 
Method Summary
protected  void initDB()
          Instantiates the database driver and creates the table if necessary
 
Methods inherited from class fr.dyade.aaa.util.DBTransaction
close, commit, delete, fname, getList, getLogThresholdOperation, getPersistenceDir, getStartTime, init, isPersistent, loadByteArray, saveInLog, setPhase, stop
 
Methods inherited from class fr.dyade.aaa.util.AbstractTransaction
begin, create, create, createByteArray, createByteArray, delete, getPhase, getPhaseInfo, load, load, loadByteArray, release, save, save, save, saveByteArray, saveByteArray, saveByteArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.dyade.aaa.util.DBTransactionMBean
getPhase, getPhaseInfo
 

Field Detail

driver

private java.lang.String driver

connurl

private java.lang.String connurl
Constructor Detail

DerbyDBTransaction

public DerbyDBTransaction()
Method Detail

initDB

protected void initDB()
               throws java.io.IOException
Description copied from class: DBTransaction
Instantiates the database driver and creates the table if necessary

Specified by:
initDB in class DBTransaction
Throws:
java.io.IOException


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.