Class LitebridgeProperties.DatabaseProviderProperties
java.lang.Object
org.litebridgedb.spring.boot.autoconfigure.LitebridgeProperties.DatabaseProviderProperties
- Enclosing class:
LitebridgeProperties
Database provider configuration properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringGet the fully qualified class name of the database provider implementation to use.Get the base package to scan forDatabaseProviderimplementations.voidAlias forsetProviderClass(String), for compatibility with Spring Boot 3 due to lack of support for@Name.voidsetProviderClass(@Nullable String providerClass) Set the fully qualified class name of the database provider implementation to use.voidsetScanBasePackage(String basePackage) Set the base package to scan forDatabaseProviderimplementations.
-
Constructor Details
-
DatabaseProviderProperties
public DatabaseProviderProperties()
-
-
Method Details
-
getProviderClass
Get the fully qualified class name of the database provider implementation to use.- Returns:
- database provider class name
-
setProviderClass
Set the fully qualified class name of the database provider implementation to use. -
setClass
Alias forsetProviderClass(String), for compatibility with Spring Boot 3 due to lack of support for@Name.Set the fully qualified class name of the database provider implementation to use.
-
getScanBasePackage
Get the base package to scan forDatabaseProviderimplementations.Default: "org.litebridgedb.db"
-
setScanBasePackage
Set the base package to scan forDatabaseProviderimplementations.- Parameters:
basePackage- the base package to recursively scan for database providers
-