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.
|
ServiceRequestCustomizer |
getServiceRequestCustomizer() |
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 |
setServiceRequestCustomizer(ServiceRequestCustomizer customizer)
Sets a service request customizer on this service manager.
|
void |
setWireCryptAsEnum(WireCrypt wireCrypt)
Set the wire encryption level.
|
getExpectedDb, getServiceName, setExpectedDb, setServiceNamegetAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEncoding, getLegacyAuthCharset, getParallelWorkers, getPassword, getPortNumber, getProcessId, getProcessName, getRoleName, getServerName, getSocketBufferSize, getSoTimeout, getType, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEncoding, setLegacyAuthCharset, setParallelWorkers, setPassword, setPortNumber, setProcessId, setProcessName, setRoleName, setServerName, setSocketBufferSize, setSoTimeout, setType, setUser, setWireCompression, setWireCryptconnectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setPropertyvoid 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.void setServiceRequestCustomizer(ServiceRequestCustomizer customizer)
The customizer is called just before the request is sent to the server, allowing users to modify the request.
If you set a customizer to access a feature not implemented by Jaybird, please consider creating an improvement ticket on the Jaybird GitHub repository as well.
customizer - service request customizer, null to remove a previous customizergetServiceRequestCustomizer(),
ServiceRequestCustomizerServiceRequestCustomizer getServiceRequestCustomizer()
null if none setsetServiceRequestCustomizer(ServiceRequestCustomizer)GDSServerVersion getServerVersion() throws java.sql.SQLException
GDSServerVersion.INVALID_VERSION if parsing
failed.java.sql.SQLException - For errors connecting to the service manager.Copyright © 2001-2026 Jaybird (Firebird JDBC) team. All rights reserved.