org.dyndns.nuda.mapper.helper.command
クラス TransactionCommandImpl

java.lang.Object
  上位を拡張 org.dyndns.nuda.mapper.helper.command.TransactionCommandImpl
すべての実装されたインタフェース:
TransactionCommand, SQLInterfaceControllerCommand

public class TransactionCommandImpl
extends java.lang.Object
implements TransactionCommand

SQLインタフェースコンテナ制御コマンド:トランザクション制御コマンド

作成者:
nkoseki

コンストラクタの概要
TransactionCommandImpl()
           
 
メソッドの概要
 void commit()
          トランザクションをコミットします
 JDBCXMLInvocationHandler getContainer()
          このインスタンスに設定されているSQLInterfaceコンテナを取得します
 void rollback()
          トランザクションをロールバックしますs
 void setContainer(JDBCXMLInvocationHandler container)
          このインスタンスにSQLInterfaceコンテナを設定します
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

TransactionCommandImpl

public TransactionCommandImpl()
メソッドの詳細

setContainer

public void setContainer(JDBCXMLInvocationHandler container)
インタフェース SQLInterfaceControllerCommand の記述:
このインスタンスにSQLInterfaceコンテナを設定します

定義:
インタフェース SQLInterfaceControllerCommand 内の setContainer
パラメータ:
container - SQLInterfaceコンテナ

getContainer

public JDBCXMLInvocationHandler getContainer()
インタフェース SQLInterfaceControllerCommand の記述:
このインスタンスに設定されているSQLInterfaceコンテナを取得します

定義:
インタフェース SQLInterfaceControllerCommand 内の getContainer
戻り値:
SQLInterfaceコンテナ

commit

public void commit()
            throws java.sql.SQLException
インタフェース TransactionCommand の記述:
トランザクションをコミットします

定義:
インタフェース TransactionCommand 内の commit
例外:
java.sql.SQLException

rollback

public void rollback()
              throws java.sql.SQLException
インタフェース TransactionCommand の記述:
トランザクションをロールバックしますs

定義:
インタフェース TransactionCommand 内の rollback
例外:
java.sql.SQLException