- All Known Implementing Classes:
DaoImplSupport
public interface ConfigProvider
A provider for a
Config object.
This interface defines a contract for objects that can provide access to a Config
instance, which contains all the configuration settings needed for database operations in Doma.
The Config.get(Object) method can be used to extract a Config instance from
any object that implements this interface.
Typically, applications don't need to implement this interface directly, as Doma automatically
generates implementations for DAO interfaces annotated with @Dao.
- See Also:
-
Method Summary
-
Method Details
-
getConfig
Config getConfig()Returns the configuration.- Returns:
- the configuration instance containing database operation settings
-