org.seasar.robot.db.allcommon
クラス DBFluteInitializer
java.lang.Object
org.seasar.robot.db.allcommon.DBFluteInitializer
public class DBFluteInitializer
- extends java.lang.Object
- 作成者:
- DBFlute(AutoGenerator)
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBFluteInitializer
public DBFluteInitializer()
- Constructor, which initializes various components.
announce
protected void announce()
prologue
protected void prologue()
standBy
protected void standBy()
handleSqlLogRegistry
protected void handleSqlLogRegistry()
loadCoolClasses
protected void loadCoolClasses()
setupDataSourceHandler
protected void setupDataSourceHandler(java.lang.String dataSourceFqcn)
- Set up the handler of data source to the configuration of DBFlute.
If it uses commons-DBCP, it needs to arrange some for transaction.
- A. To use DataSourceUtils which is Spring Framework class.
- B. To use TransactionConnection that is original class and doesn't close really.
If you use a transaction library which has a data source which supports transaction,
It doesn't need these arrangement. (For example, the framework 'Atomikos')
This method should be executed when application is initialized.
- パラメータ:
dataSourceFqcn
- The FQCN of data source. (NotNull)
isCurrentDBDef
protected boolean isCurrentDBDef(org.seasar.robot.dbflute.DBDef currentDBDef)
ln
protected java.lang.String ln()
Copyright © 2012. All Rights Reserved.