java.lang.Object
org.firebirdsql.gds.ng.jna.AbstractNativeDatabaseFactory
org.firebirdsql.gds.ng.jna.FbEmbeddedDatabaseFactory
- All Implemented Interfaces:
org.firebirdsql.gds.ng.FbDatabaseFactory
Implementation of
FbDatabaseFactory for establishing connection using the
Firebird embedded library.- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Method Summary
Modifier and TypeMethodDescriptionprotected FbClientLibraryCreates and initialize a new instance of the client library.protected Collection<String>protected <T extends org.firebirdsql.gds.ng.IAttachProperties<T>>
TfilterProperties(T attachProperties) Allows the database factory to perform modification of the attach properties before use.static FbEmbeddedDatabaseFactoryMethods inherited from class org.firebirdsql.gds.ng.jna.AbstractNativeDatabaseFactory
connect, getClientLibrary, serviceConnect
-
Method Details
-
getInstance
-
filterProperties
protected <T extends org.firebirdsql.gds.ng.IAttachProperties<T>> T filterProperties(T attachProperties) Description copied from class:AbstractNativeDatabaseFactoryAllows 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:
filterPropertiesin classAbstractNativeDatabaseFactory- Type Parameters:
T- Type of attach properties- Parameters:
attachProperties- Attach properties- Returns:
- Filtered properties
-
defaultLibraryNames
- Specified by:
defaultLibraryNamesin classAbstractNativeDatabaseFactory- Returns:
- the default library names loaded by this factory
-
createClientLibrary
Description copied from class:AbstractNativeDatabaseFactoryCreates 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:
createClientLibraryin classAbstractNativeDatabaseFactory- Returns:
- new client library instance
-