Package org.firebirdsql.gds.ng.jna
Class FbLocalDatabaseFactory
- java.lang.Object
-
- org.firebirdsql.gds.ng.jna.AbstractNativeDatabaseFactory
-
- org.firebirdsql.gds.ng.jna.FbLocalDatabaseFactory
-
- All Implemented Interfaces:
FbDatabaseFactory
@Deprecated public class FbLocalDatabaseFactory extends AbstractNativeDatabaseFactory
Deprecated.will be removed in Jaybird 6 without replacementImplementation ofFbDatabaseFactory
for establishing local connections using the Firebird client library.- Since:
- 3.0
- Author:
- Mark Rotteveel
-
-
Constructor Summary
Constructors Constructor Description FbLocalDatabaseFactory()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected FbClientLibrary
createClientLibrary()
Deprecated.Creates and initialize a new instance of the client library.protected <T extends IAttachProperties<T>>
TfilterProperties(T attachProperties)
Deprecated.Allows the database factory to perform modification of the attach properties before use.protected FbClientLibrary
getClientLibrary()
Deprecated.Gets the current instance of the client library.static FbLocalDatabaseFactory
getInstance()
Deprecated.-
Methods inherited from class org.firebirdsql.gds.ng.jna.AbstractNativeDatabaseFactory
connect, serviceConnect
-
-
-
-
Method Detail
-
getClientLibrary
protected FbClientLibrary getClientLibrary()
Deprecated.Description copied from class:AbstractNativeDatabaseFactory
Gets the current instance of the client library.Most implementations should not override this method (contrary to previous versions of Jaybird), to ensure native libraries are properly disposed of.
- Overrides:
getClientLibrary
in classAbstractNativeDatabaseFactory
- Returns:
- Client library instance.
-
filterProperties
protected <T extends IAttachProperties<T>> T filterProperties(T attachProperties)
Deprecated.Description copied from class:AbstractNativeDatabaseFactory
Allows the database factory to perform modification of the attach properties before use.Implementations should be prepared to handle immutable attach properties. Implementations are strongly advised to copy the attach properties before modification and return this copy.
- Overrides:
filterProperties
in classAbstractNativeDatabaseFactory
- Type Parameters:
T
- Type of attach properties- Parameters:
attachProperties
- Attach properties- Returns:
- Filtered properties
-
createClientLibrary
protected final FbClientLibrary createClientLibrary()
Deprecated.Description copied from class:AbstractNativeDatabaseFactory
Creates and initialize a new instance of the client library.Instances should not be cached (caching - if any - is the responsibility of the caller).
- Specified by:
createClientLibrary
in classAbstractNativeDatabaseFactory
- Returns:
- new client library instance
-
getInstance
public static FbLocalDatabaseFactory getInstance()
Deprecated.
-
-