|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.data.oda.impl.SimpleDriver
org.eclipse.datatools.connectivity.oda.impl.SimpleDriver
.
Default implementation of IDriver for a simple ODA runtime driver.
Constructor Summary | |
SimpleDriver()
Deprecated. |
Method Summary | |
IConnection |
getConnection(java.lang.String dataSourceType)
Deprecated. Returns an IConnection object that can then be used to establish a runtime connection to the underlying data source with the given unique id. |
int |
getMaxConnections()
Deprecated. Returns the maximum number of concurrent connections that the driver can support. |
protected IConnection |
newConnection(java.lang.String dataSourceType)
Deprecated. Override to return a specific IConnection instance based on the type of data source. |
void |
setLogConfiguration(LogConfiguration logConfig)
Deprecated. An optional method to set the trace logging configuration of the ODA runtime driver for the given type of data source and its runtime connection(s). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleDriver()
Method Detail |
public IConnection getConnection(java.lang.String dataSourceType) throws OdaException
IDriver
getConnection
in interface IDriver
dataSourceType
- The id fo a type of data source supported by this IDriver.
This matches the data source element id defined in
the data source driver's configuration file.
A null or empty String will use the default
data source type supported by this IDriver.
OdaException
- if data source error occurs.IDriver.getConnection(java.lang.String)
protected IConnection newConnection(java.lang.String dataSourceType) throws OdaException
OdaException
- if data source error occurs.public void setLogConfiguration(LogConfiguration logConfig) throws OdaException
IDriver
setLogConfiguration
in interface IDriver
logConfig
- The trace logging configuration.
OdaException
- if ODA runtime driver error occurs.IDriver.setLogConfiguration(org.eclipse.birt.data.oda.LogConfiguration)
public int getMaxConnections() throws OdaException
IDriver
getMaxConnections
in interface IDriver
OdaException
- if driver error occurs.IDriver.getMaxConnections()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |