Package org.firebirdsql.gds.ng
Interface IServiceProperties
- 
- All Superinterfaces:
- IAttachProperties<IServiceProperties>
 - All Known Implementing Classes:
- FbImmutableServiceProperties,- FbServiceProperties
 
 public interface IServiceProperties extends IAttachProperties<IServiceProperties> Connection properties for a Firebird service attachment.- Since:
- 3.0
- Author:
- Mark Rotteveel
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringDEFAULT_SERVICE_NAME- 
Fields inherited from interface org.firebirdsql.gds.ng.IAttachPropertiesDEFAULT_CONNECT_TIMEOUT, DEFAULT_PORT, DEFAULT_SERVER_NAME, DEFAULT_SO_TIMEOUT, DEFAULT_SOCKET_BUFFER_SIZE
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IServicePropertiesasImmutable()IServicePropertiesasNewMutable()java.lang.StringgetServiceName()Get the service namevoidsetServiceName(java.lang.String serviceName)Set the service name.- 
Methods inherited from interface org.firebirdsql.gds.ng.IAttachPropertiesgetAttachObjectName, 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 Detail- 
DEFAULT_SERVICE_NAMEstatic final java.lang.String DEFAULT_SERVICE_NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getServiceNamejava.lang.String getServiceName() Get the service nameNOTE: Implementer should take care to return DEFAULT_SERVICE_NAMEif value hasn't been set yet.- Returns:
- Service name
 
 - 
setServiceNamevoid setServiceName(java.lang.String serviceName) 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
 
 - 
asImmutableIServiceProperties asImmutable() - Specified by:
- asImmutablein interface- IAttachProperties<IServiceProperties>
- Returns:
- An immutable version of this instance as an implementation of IServiceProperties
 
 - 
asNewMutableIServiceProperties asNewMutable() - Specified by:
- asNewMutablein interface- IAttachProperties<IServiceProperties>
- Returns:
- A new, mutable, instance as an implementation of IServicePropertieswith all properties copied.
 
 
- 
 
-