public class FbLocalDatabaseFactory extends AbstractNativeDatabaseFactory
FbDatabaseFactory for establishing local connections using
the Firebird client library.| Constructor and Description |
|---|
FbLocalDatabaseFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected FbClientLibrary |
createClientLibrary()
Creates and initialize a new instance of the client library.
|
protected <T extends IAttachProperties<T>> |
filterProperties(T attachProperties)
Allows the database factory to perform modification of the attach properties before use.
|
protected FbClientLibrary |
getClientLibrary()
Gets the current instance of the client library.
|
static FbLocalDatabaseFactory |
getInstance() |
connect, serviceConnectprotected FbClientLibrary getClientLibrary()
AbstractNativeDatabaseFactoryMost implementations should not override this method (contrary to previous versions of Jaybird), to ensure native libraries are properly disposed of.
getClientLibrary in class AbstractNativeDatabaseFactoryprotected <T extends IAttachProperties<T>> T filterProperties(T attachProperties)
AbstractNativeDatabaseFactoryImplementations should be prepared to handle immutable attach properties. Implementations are strongly advised to copy the attach properties before modification and return this copy.
filterProperties in class AbstractNativeDatabaseFactoryT - Type of attach propertiesattachProperties - Attach propertiesprotected final FbClientLibrary createClientLibrary()
AbstractNativeDatabaseFactoryInstances should not be cached (caching - if any - is the responsibility of the caller).
createClientLibrary in class AbstractNativeDatabaseFactorypublic static FbLocalDatabaseFactory getInstance()
Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.