public abstract class AbstractDataSourceAdapter extends Object implements IDataSourceAdapter
| 限定符和类型 | 字段和说明 |
|---|---|
protected DataSourceCfgMeta |
__cfgMeta |
protected boolean |
__inited |
| 构造器和说明 |
|---|
AbstractDataSourceAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
__doGetPasswordDecryptIfNeed() |
protected abstract void |
__doInit() |
void |
destroy()
销毁数据源适配器
|
DataSourceCfgMeta |
getDataSourceCfgMeta() |
IDialect |
getDialect() |
void |
initialize(IDatabase owner,
DataSourceCfgMeta cfgMeta)
数据源适配器初始化
|
boolean |
tryInitializeIfNeed() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnectionprotected DataSourceCfgMeta __cfgMeta
protected boolean __inited
public void initialize(IDatabase owner, DataSourceCfgMeta cfgMeta) throws Exception
IDataSourceAdapterinitialize 在接口中 IDataSourceAdapterowner - 所属JDBC模块对象cfgMeta - 数据源配置参数Exception - 可能产生的异常public boolean tryInitializeIfNeed()
throws Exception
tryInitializeIfNeed 在接口中 IDataSourceAdapterException - 可能产生的异常public DataSourceCfgMeta getDataSourceCfgMeta()
getDataSourceCfgMeta 在接口中 IDataSourceAdapterprotected String __doGetPasswordDecryptIfNeed() throws Exception
Exceptionpublic IDialect getDialect()
getDialect 在接口中 IDataSourceAdapterpublic void destroy()
IDataSourceAdapterdestroy 在接口中 IDataSourceAdapterCopyright © 2019. All rights reserved.