Package org.firebirdsql.gds.ng
Interface IServiceProperties
- All Superinterfaces:
IAttachProperties<IServiceProperties>
- All Known Implementing Classes:
FbImmutableServiceProperties,FbServiceProperties
Connection properties for a Firebird service attachment.
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Field Summary
FieldsFields inherited from interface org.firebirdsql.gds.ng.IAttachProperties
DEFAULT_CONNECT_TIMEOUT, DEFAULT_PORT, DEFAULT_SERVER_NAME, DEFAULT_SO_TIMEOUT, DEFAULT_SOCKET_BUFFER_SIZE -
Method Summary
Modifier and TypeMethodDescriptionGet the service namevoidsetServiceName(String serviceName) Set the service name.Methods inherited from interface org.firebirdsql.gds.ng.IAttachProperties
getAttachObjectName, getAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEncoding, getPassword, getPortNumber, getRoleName, getServerName, getSocketBufferSize, getSoTimeout, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEncoding, setPassword, setPortNumber, setRoleName, setServerName, setSocketBufferSize, setSoTimeout, setUser, setWireCompression, setWireCrypt
-
Field Details
-
DEFAULT_SERVICE_NAME
- See Also:
-
-
Method Details
-
getServiceName
String getServiceName()Get the service nameNOTE: Implementer should take care to return
DEFAULT_SERVICE_NAMEif value hasn't been set yet.- Returns:
- Service name
-
setServiceName
Set the service name.NOTE: Implementer should take care to use the
DEFAULT_SERVICE_NAMEif this method hasn't been called yet.- Parameters:
serviceName- Service name
-
asImmutable
IServiceProperties asImmutable()- Specified by:
asImmutablein interfaceIAttachProperties<IServiceProperties>- Returns:
- An immutable version of this instance as an implementation of
IServiceProperties
-
asNewMutable
IServiceProperties asNewMutable()- Specified by:
asNewMutablein interfaceIAttachProperties<IServiceProperties>- Returns:
- A new, mutable, instance as an implementation of
IServicePropertieswith all properties copied.
-