Module org.firebirdsql.jaybird
Package org.firebirdsql.gds.ng
Interface IAttachProperties<T extends IAttachProperties<T>>
- All Superinterfaces:
AttachmentProperties,BaseProperties
- All Known Subinterfaces:
IConnectionProperties,IServiceProperties
- All Known Implementing Classes:
AbstractAttachProperties,AbstractImmutableAttachProperties,FbConnectionProperties,FbImmutableConnectionProperties,FbImmutableServiceProperties,FbServiceProperties
Common properties for database and service attach.
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptiondefault Stringdefault WireCryptbooleandefault voidsetAttachObjectName(String attachObjectName) Sets the attach object name.default voidsetWireCryptAsEnum(WireCrypt wireCrypt) Set the wire encryption level.Methods inherited from interface org.firebirdsql.jaybird.props.AttachmentProperties
getAuthPlugins, getCharSet, getConnectTimeout, getDbCryptConfig, getEnableProtocol, getEncoding, getParallelWorkers, getPassword, getPortNumber, getProcessId, getProcessName, getRoleName, getServerName, getSocketBufferSize, getSocketFactory, getSoTimeout, getType, getUser, getWireCrypt, isWireCompression, setAuthPlugins, setCharSet, setConnectTimeout, setDbCryptConfig, setEnableProtocol, setEncoding, setParallelWorkers, setPassword, setPortNumber, setProcessId, setProcessName, setRoleName, setServerName, setSocketBufferSize, setSocketFactory, setSoTimeout, setType, setUser, setWireCompression, setWireCryptMethods inherited from interface org.firebirdsql.jaybird.props.BaseProperties
connectionPropertyValues, getBooleanProperty, getBooleanProperty, getIntProperty, getIntProperty, getProperty, getProperty, setBooleanProperty, setIntProperty, setProperty
-
Field Details
-
DEFAULT_SOCKET_BUFFER_SIZE
static final int DEFAULT_SOCKET_BUFFER_SIZE- See Also:
-
DEFAULT_SO_TIMEOUT
static final int DEFAULT_SO_TIMEOUT- See Also:
-
DEFAULT_CONNECT_TIMEOUT
static final int DEFAULT_CONNECT_TIMEOUT- See Also:
-
-
Method Details
-
getAttachObjectName
- Returns:
- The name of the object to attach to (either a database or service name).
- See Also:
-
setAttachObjectName
Sets the attach object name.For more information, see
DatabaseConnectionProperties.setDatabaseName(String)andServiceConnectionProperties.setServiceName(String).- Parameters:
attachObjectName- Database attach object name
-
getWireCryptAsEnum
- Returns:
- The value of
AttachmentProperties.getWireCrypt()as an instance ofWireCrypt. - Since:
- 5
- See Also:
-
setWireCryptAsEnum
Set the wire encryption level.- Parameters:
wireCrypt- Wire encryption level (nullnot allowed)- Since:
- 5
- See Also:
-
asImmutable
T asImmutable()- Returns:
- An immutable version of this instance as an implementation of
IAttachProperties
-
asNewMutable
T asNewMutable()- Returns:
- A new, mutable, instance as an implementation of
IAttachPropertieswith all properties copied.
-
isImmutable
boolean isImmutable()- Returns:
trueif this is an immutable implementation,falseif mutable- Since:
- 5
-