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 DataSourceProxy
public Driver getRawDriver()
getRawDriver
in interface DataSourceProxy
public String getRawUrl()
getRawUrl
in interface DataSourceProxyImplMBean
public ConnectionProxy connect(Properties info) throws SQLException
SQLException
public DataSourceProxyConfig getConfig()
public long getId()
public void setId(long id)
public String getName()
getName
in interface DataSourceProxy
getName
in interface DataSourceProxyImplMBean
public String getUrl()
getUrl
in interface DataSourceProxy
getUrl
in interface DataSourceProxyImplMBean
public List<Filter> getProxyFilters()
getProxyFilters
in interface DataSourceProxy
public String[] getFilterClasses()
getFilterClasses
in interface DataSourceProxyImplMBean
public String getRawDriverClassName()
getRawDriverClassName
in interface DataSourceProxyImplMBean
public Date getCreatedTime()
getCreatedTime
in interface DataSourceProxyImplMBean
public int getRawDriverMajorVersion()
getRawDriverMajorVersion
in interface DataSourceProxyImplMBean
public int getRawDriverMinorVersion()
getRawDriverMinorVersion
in interface DataSourceProxyImplMBean
public String getDataSourceMBeanDomain()
public String getProperties()
getProperties
in interface DataSourceProxyImplMBean
public Properties getConnectProperties()
getConnectProperties
in interface DataSourceProxy
public CompositeDataSupport getCompositeData() throws JMException
JMException
public String getRawJdbcUrl()
getRawJdbcUrl
in interface DataSourceProxy
public long createConnectionId()
createConnectionId
in interface DataSourceProxy
public long createStatementId()
createStatementId
in interface DataSourceProxy
public long createResultSetId()
createResultSetId
in interface DataSourceProxy
public long createMetaDataId()
createMetaDataId
in interface DataSourceProxy
public long createTransactionId()
createTransactionId
in interface DataSourceProxy
public JdbcDataSourceStat getDataSourceStat()
getDataSourceStat
in interface DataSourceProxy
Copyright © 2013–2017 Alibaba Group. All rights reserved.