类 AbstractRuntime
java.lang.Object
org.anyline.data.runtime.init.AbstractRuntime
- 所有已实现的接口:
DataRuntime
-
字段概要
字段修饰符和类型字段说明protected DriverAdapterprotected Stringprotected Stringprotected Stringprotected String运行环境特征 如jdbc-url 用来匹配 DriverAdapterprotected RuntimeHolderprotected String表示数据源名称protected Stringprotected String复制来源protected LinkedHashMap<String,Role> protected Stringprotected String运行环境版本 用来匹配 DriverAdapterprotected String -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleandestroy()getFeature(boolean connection) 返回数据库特征用来定位adaptergetKey()返回最后一次检测的数据库特征getUrl()返回数据库版本origin()返回复制源的id(有些数据源是通过自动复制,在注销时会把复制出来的数据源一块注销)voidroles()是否管理员帐号 影响元数据查询voidroles(LinkedHashMap<String, Role> roles) voidvoidvoidsetAdapter(DriverAdapter adapter) voidsetAdapterKey(String adapter) 配置文件中设置adapter标识(url参数或adapter属性)voidsetCatalog(String catalog) voidvoidsetFeature(String feature) voidsetHolder(RuntimeHolder holder) voidvoidsetLastFeature(String feature) voidsetProcessor(Object processor) voidvoidvoidsetVersion(String version) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.anyline.data.runtime.DataRuntime
getFeature
-
字段详细资料
-
origin
复制来源 -
key
表示数据源名称 -
feature
运行环境特征 如jdbc-url 用来匹配 DriverAdapter -
lastFeature
-
url
运行环境版本 用来匹配 DriverAdapter -
driver
-
version
-
adapter
-
adapterKey
-
catalog
-
schema
-
holder
-
roles
-
-
构造器详细资料
-
AbstractRuntime
public AbstractRuntime()
-
-
方法详细资料
-
roles
从接口复制的说明:DataRuntime是否管理员帐号 影响元数据查询- 指定者:
roles在接口中DataRuntime- 返回:
- boolean
-
roles
- 指定者:
roles在接口中DataRuntime
-
roles
- 指定者:
roles在接口中DataRuntime
-
roles
- 指定者:
roles在接口中DataRuntime
-
origin
从接口复制的说明:DataRuntime返回复制源的id(有些数据源是通过自动复制,在注销时会把复制出来的数据源一块注销)- 指定者:
origin在接口中DataRuntime- 返回:
- String
-
origin
- 指定者:
origin在接口中DataRuntime
-
getFeature
从接口复制的说明:DataRuntime返回数据库特征用来定位adapter- 指定者:
getFeature在接口中DataRuntime- 参数:
connection- 是否连接数据源- 返回:
- String
-
setFeature
- 指定者:
setFeature在接口中DataRuntime
-
getLastFeature
从接口复制的说明:DataRuntime返回最后一次检测的数据库特征- 指定者:
getLastFeature在接口中DataRuntime- 返回:
- String
-
setLastFeature
- 指定者:
setLastFeature在接口中DataRuntime
-
getVersion
从接口复制的说明:DataRuntime返回数据库版本- 指定者:
getVersion在接口中DataRuntime- 返回:
- String
- 抛出:
Exception
-
setVersion
- 指定者:
setVersion在接口中DataRuntime
-
setDriver
- 指定者:
setDriver在接口中DataRuntime
-
getDriver
- 指定者:
getDriver在接口中DataRuntime
-
setUrl
- 指定者:
setUrl在接口中DataRuntime
-
getUrl
- 指定者:
getUrl在接口中DataRuntime
-
getKey
- 指定者:
getKey在接口中DataRuntime
-
setKey
- 指定者:
setKey在接口中DataRuntime
-
getProcessor
- 指定者:
getProcessor在接口中DataRuntime
-
setProcessor
- 指定者:
setProcessor在接口中DataRuntime
-
getCatalog
- 指定者:
getCatalog在接口中DataRuntime
-
setCatalog
- 指定者:
setCatalog在接口中DataRuntime
-
getSchema
- 指定者:
getSchema在接口中DataRuntime
-
setSchema
- 指定者:
setSchema在接口中DataRuntime
-
getAdapter
- 指定者:
getAdapter在接口中DataRuntime
-
datasource
- 指定者:
datasource在接口中DataRuntime
-
setAdapter
- 指定者:
setAdapter在接口中DataRuntime
-
setAdapterKey
从接口复制的说明:DataRuntime配置文件中设置adapter标识(url参数或adapter属性)- 指定者:
setAdapterKey在接口中DataRuntime- 参数:
adapter- adapter标识
-
getAdapterKey
- 指定者:
getAdapterKey在接口中DataRuntime
-
setHolder
- 指定者:
setHolder在接口中DataRuntime
-
getHolder
- 指定者:
getHolder在接口中DataRuntime
-
destroy
- 指定者:
destroy在接口中DataRuntime- 抛出:
Exception
-