public static class AbstractOdiDataServer.JdbcSettings extends AbstractOdiDataServer.DummyConnectionSettings implements AbstractOdiDataServer.IConnectionSettings
Constructor and Description |
---|
JdbcSettings()
Deprecated.
full constructor must be used since this class is now
immutable
|
JdbcSettings(java.lang.String pJdbcUrl,
java.lang.String pDriverName)
Create a new
AbstractOdiDataServer.JdbcSettings . |
JdbcSettings(java.lang.String pJdbcUrl,
java.lang.String pDriverName,
java.util.Map pConnectionProperties)
Create a new
AbstractOdiDataServer.JdbcSettings . |
JdbcSettings(java.lang.String pJdbcUrl,
java.lang.String pDriverName,
java.util.Map pConnectionProperties,
OdiOnConnectConfig pOnConnectConfig,
OdiOnDisconnectConfig pOnDisconnectConfig)
Create a new JdbcSettings
|
JdbcSettings(java.lang.String pUrl,
java.lang.String pDriverName,
OdiOnConnectConfig pOnConnectConfig,
OdiOnDisconnectConfig pOnDisconnectConfig)
Create a new AbstractOdiDataServer.JdbcSettings
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDriverName()
Obtains the driver name of this jdbc settings, or
null
if undefined. |
java.lang.String |
getJdbcUrl()
Obtains the JDBC URL of this jdbc settings, or
null if
undefined. |
OdiOnConnectConfig |
getOnConnectConfig()
Obtains the onConnect config of this jdbc settings.
|
OdiOnDisconnectConfig |
getOnDisconnectConfig()
Obtains the onDisconnect config of this jdbc settings.
|
void |
setDriverName(java.lang.String pDriverName)
Deprecated.
since instance of this class should be considered
immutable
|
void |
setJdbcUrl(java.lang.String pJdbcUrl)
Deprecated.
since instance of this class should be considered
immutable
|
getConnectionProperties, getDataSourceJndiName, getDeploymentPath, getDeploymentUrl, getInitialContextFactory, getProviderUrl, getSecurityAuthentication, getSecurityPrincipal, getWsBaseUrl, isAxis2, isDirectory, isFtp, isJdbcConnection, isJndiConnection
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConnectionProperties, getDataSourceJndiName, getDeploymentPath, getDeploymentUrl, getInitialContextFactory, getProviderUrl, getSecurityAuthentication, getSecurityPrincipal, getWsBaseUrl, isAxis2, isDirectory, isFtp, isJdbcConnection, isJndiConnection
@Deprecated public JdbcSettings()
JdbcSettings
.null
.public JdbcSettings(java.lang.String pJdbcUrl, java.lang.String pDriverName)
AbstractOdiDataServer.JdbcSettings
.pJdbcUrl
- JDBC URLpDriverName
- JDBC driver class namepublic JdbcSettings(java.lang.String pJdbcUrl, java.lang.String pDriverName, java.util.Map pConnectionProperties)
AbstractOdiDataServer.JdbcSettings
.pJdbcUrl
- JDBC URLpDriverName
- JDBC driver class namepConnectionProperties
- JDBC propertiespublic JdbcSettings(java.lang.String pUrl, java.lang.String pDriverName, OdiOnConnectConfig pOnConnectConfig, OdiOnDisconnectConfig pOnDisconnectConfig)
pUrl
- DBC URLpDriverName
- JDBC driver class namepOnConnectConfig
- OnConnect command configuration see
OdiOnConnectConfig
pOnDisconnectConfig
- OnDisconnect command configuration see
OdiOnDisconnectConfig
public JdbcSettings(java.lang.String pJdbcUrl, java.lang.String pDriverName, java.util.Map pConnectionProperties, OdiOnConnectConfig pOnConnectConfig, OdiOnDisconnectConfig pOnDisconnectConfig)
pJdbcUrl
- DBC URLpDriverName
- JDBC driver class namepOnConnectConfig
- OnConnect command configuration see
OdiOnConnectConfig
pOnDisconnectConfig
- OnDisconnect command configuration see
OdiOnDisconnectConfig
public OdiOnConnectConfig getOnConnectConfig()
public OdiOnDisconnectConfig getOnDisconnectConfig()
public java.lang.String getDriverName()
null
if undefined.getDriverName
in interface IConnectionInfo
getDriverName
in class AbstractOdiDataServer.DummyConnectionSettings
setDriverName(String)
public java.lang.String getJdbcUrl()
null
if
undefined.getJdbcUrl
in interface IConnectionInfo
getJdbcUrl
in class AbstractOdiDataServer.DummyConnectionSettings
setJdbcUrl(String)
@Deprecated public void setDriverName(java.lang.String pDriverName)
getDriverName()
@Deprecated public void setJdbcUrl(java.lang.String pJdbcUrl)
getJdbcUrl()