fr.dyade.aaa.util
Class MySQLDBTransaction

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

public final class MySQLDBTransaction
extends DBTransaction

The MySQLDBTransaction class implements a transactionnal storage through a MySQL database.

See Also:
Transaction

Nested Class Summary
 
Nested classes/interfaces inherited from class fr.dyade.aaa.util.AbstractTransaction
AbstractTransaction.Context
 
Field Summary
 
Fields inherited from class fr.dyade.aaa.util.DBTransaction
conn
 
Fields inherited from class fr.dyade.aaa.util.AbstractTransaction
dir, logmon, OOS_STREAM_HEADER, perThreadContext, phase, startTime
 
Fields inherited from interface fr.dyade.aaa.util.Transaction
COMMIT, FINALIZE, FREE, GARBAGE, INIT, Kb, Mb, PhaseInfo, ROLLBACK, RUN
 
Constructor Summary
MySQLDBTransaction()
           
 
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, getList, getLogThresholdOperation, getPersistenceDir, initRepository, isPersistent, loadByteArray, saveInLog, setPhase, stop
 
Methods inherited from class fr.dyade.aaa.util.AbstractTransaction
begin, create, create, createByteArray, createByteArray, delete, getPhase, getPhaseInfo, getStartTime, init, 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
 
Methods inherited from interface fr.dyade.aaa.util.TransactionMBean
getStartTime
 

Constructor Detail

MySQLDBTransaction

public MySQLDBTransaction()
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 © 2011 ScalAgent D.T.. All Rights Reserved.