public interface ServiceManager extends ServiceConnectionProperties
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDatabase()
Returns the database path for the connection to the service manager.
|
java.lang.String |
getHost()
Deprecated.
Use
AttachmentProperties.getServerName() ; will be removed in Jaybird 6 or later |
java.io.OutputStream |
getLogger()
Returns the logger for the connection to the service manager.
|
int |
getPort()
Deprecated.
Use
AttachmentProperties.getPortNumber() ; will be removed in Jaybird 6 or later |
GDSServerVersion |
getServerVersion()
Obtains the server version through a service call.
|
WireCrypt |
getWireCryptAsEnum()
Get the wire encryption level.
|
void |
setDatabase(java.lang.String database)
Sets the database path for the connection to the service manager.
|
void |
setHost(java.lang.String host)
Deprecated.
Use
AttachmentProperties.setServerName(String) ; will be removed in Jaybird 6 or later |
void |
setLogger(java.io.OutputStream logger)
Sets the logger for the connection to the service manager.
|
void |
setPort(int port)
Deprecated.
Use
AttachmentProperties.setPortNumber(int) ; will be removed in Jaybird 6 or later |
void |
setWireCryptAsEnum(WireCrypt wireCrypt)
Set the wire encryption level.
|
getExpectedDb, getServiceName, setExpectedDb, setServiceName
getAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEncoding, getPassword, getPortNumber, getProcessId, getProcessName, getRoleName, getServerName, getSocketBufferSize, getSoTimeout, getType, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEncoding, setPassword, setPortNumber, setProcessId, setProcessName, setRoleName, setServerName, setSocketBufferSize, setSoTimeout, setType, setUser, setWireCompression, setWireCrypt
connectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setProperty
void setDatabase(java.lang.String database)
Will also set the expectedDb
property. If a different value must be used, it must be set after
calling this method.
database
- path for the connection to the service manager.java.lang.String getDatabase()
@Deprecated java.lang.String getHost()
AttachmentProperties.getServerName()
; will be removed in Jaybird 6 or later@Deprecated void setHost(java.lang.String host)
AttachmentProperties.setServerName(String)
; will be removed in Jaybird 6 or later
See AttachmentProperties.setServerName(String)
for details.
host
- for the connection to the service manager.@Deprecated int getPort()
AttachmentProperties.getPortNumber()
; will be removed in Jaybird 6 or later@Deprecated void setPort(int port)
AttachmentProperties.setPortNumber(int)
; will be removed in Jaybird 6 or laterport
- for the connection to the service manager.WireCrypt getWireCryptAsEnum()
void setWireCryptAsEnum(WireCrypt wireCrypt)
wireCrypt
- Wire encryption level (null
not allowed)java.io.OutputStream getLogger()
void setLogger(java.io.OutputStream logger)
logger
- for the connection to the service manager.GDSServerVersion getServerVersion() throws java.sql.SQLException
GDSServerVersion.INVALID_VERSION
if parsing
failed.java.sql.SQLException
- For errors connecting to the service manager.Copyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.