Package org.firebirdsql.jna.embedded
Class FirebirdEmbeddedLookup
- java.lang.Object
-
- org.firebirdsql.jna.embedded.FirebirdEmbeddedLookup
-
public class FirebirdEmbeddedLookup extends java.lang.Object
Locates aFirebirdEmbeddedLibrary
using the service provider mechanism.- Since:
- 5
- Author:
- Mark Rotteveel
-
-
Constructor Summary
Constructors Constructor Description FirebirdEmbeddedLookup()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<FirebirdEmbeddedLibrary>
findFirebirdEmbedded()
Tries to find a Firebird Embedded library service provider for the current platform and install it.
-
-
-
Method Detail
-
findFirebirdEmbedded
public static java.util.Optional<FirebirdEmbeddedLibrary> findFirebirdEmbedded()
Tries to find a Firebird Embedded library service provider for the current platform and install it.The first instance successfully found and installed will be returned.
- Returns:
- the first embedded instance matching the current platform that installed without errors
-
-