public class DataSourceProxyImpl extends Object implements DataSourceProxy, DataSourceProxyImplMBean
| Constructor and Description |
|---|
DataSourceProxyImpl(Driver rawDriver,
DataSourceProxyConfig config) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionProxy |
connect(Properties info) |
long |
createConnectionId() |
long |
createMetaDataId() |
long |
createResultSetId() |
long |
createStatementId() |
long |
createTransactionId() |
CompositeDataSupport |
getCompositeData() |
DataSourceProxyConfig |
getConfig() |
Properties |
getConnectProperties() |
Date |
getCreatedTime() |
String |
getDataSourceMBeanDomain() |
JdbcDataSourceStat |
getDataSourceStat() |
String |
getDbType() |
String[] |
getFilterClasses() |
long |
getId() |
String |
getName() |
String |
getProperties() |
List<Filter> |
getProxyFilters() |
Driver |
getRawDriver() |
String |
getRawDriverClassName() |
int |
getRawDriverMajorVersion() |
int |
getRawDriverMinorVersion() |
String |
getRawJdbcUrl() |
String |
getRawUrl() |
String |
getUrl() |
void |
setId(long id) |
public DataSourceProxyImpl(Driver rawDriver, DataSourceProxyConfig config)
public String getDbType()
getDbType in interface DataSourceProxypublic Driver getRawDriver()
getRawDriver in interface DataSourceProxypublic String getRawUrl()
getRawUrl in interface DataSourceProxyImplMBeanpublic ConnectionProxy connect(Properties info) throws SQLException
SQLExceptionpublic DataSourceProxyConfig getConfig()
public long getId()
public void setId(long id)
public String getName()
getName in interface DataSourceProxygetName in interface DataSourceProxyImplMBeanpublic String getUrl()
getUrl in interface DataSourceProxygetUrl in interface DataSourceProxyImplMBeanpublic List<Filter> getProxyFilters()
getProxyFilters in interface DataSourceProxypublic String[] getFilterClasses()
getFilterClasses in interface DataSourceProxyImplMBeanpublic String getRawDriverClassName()
getRawDriverClassName in interface DataSourceProxyImplMBeanpublic Date getCreatedTime()
getCreatedTime in interface DataSourceProxyImplMBeanpublic int getRawDriverMajorVersion()
getRawDriverMajorVersion in interface DataSourceProxyImplMBeanpublic int getRawDriverMinorVersion()
getRawDriverMinorVersion in interface DataSourceProxyImplMBeanpublic String getDataSourceMBeanDomain()
public String getProperties()
getProperties in interface DataSourceProxyImplMBeanpublic Properties getConnectProperties()
getConnectProperties in interface DataSourceProxypublic CompositeDataSupport getCompositeData() throws JMException
JMExceptionpublic String getRawJdbcUrl()
getRawJdbcUrl in interface DataSourceProxypublic long createConnectionId()
createConnectionId in interface DataSourceProxypublic long createStatementId()
createStatementId in interface DataSourceProxypublic long createResultSetId()
createResultSetId in interface DataSourceProxypublic long createMetaDataId()
createMetaDataId in interface DataSourceProxypublic long createTransactionId()
createTransactionId in interface DataSourceProxypublic JdbcDataSourceStat getDataSourceStat()
getDataSourceStat in interface DataSourceProxyCopyright © 2013–2018 Alibaba Group. All rights reserved.