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, serviceConnect
protected FbClientLibrary getClientLibrary()
AbstractNativeDatabaseFactory
Most implementations should not override this method (contrary to previous versions of Jaybird), to ensure native libraries are properly disposed of.
getClientLibrary
in class AbstractNativeDatabaseFactory
protected <T extends IAttachProperties<T>> T filterProperties(T attachProperties)
AbstractNativeDatabaseFactory
Implementations 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 AbstractNativeDatabaseFactory
T
- Type of attach propertiesattachProperties
- Attach propertiesprotected final FbClientLibrary createClientLibrary()
AbstractNativeDatabaseFactory
Instances should not be cached (caching - if any - is the responsibility of the caller).
createClientLibrary
in class AbstractNativeDatabaseFactory
public static FbLocalDatabaseFactory getInstance()
Copyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.