Module io.helidon.dbclient.common
Package io.helidon.dbclient.common
Class DbClientContext.BuilderBase<T extends DbClientContext.BuilderBase<T>>
- java.lang.Object
-
- io.helidon.dbclient.common.DbClientContext.BuilderBase<T>
-
- Type Parameters:
T
- type of the builder extending this builder, to keep fluent API
- Direct Known Subclasses:
DbClientContext.Builder
- Enclosing class:
- DbClientContext
public static class DbClientContext.BuilderBase<T extends DbClientContext.BuilderBase<T>> extends Object
A common base for builders for classes that want to extendDbClientContext
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BuilderBase()
No-op constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
clientServices(List<DbClientService> clientServices)
Configure the client services to use.T
dbMapperManager(DbMapperManager dbMapperManager)
Configure the DB mapper manager to use.T
mapperManager(MapperManager mapperManager)
Configure the mapper manager to use.T
statements(DbStatements statements)
Configure the db statements to use.
-
-
-
Method Detail
-
dbMapperManager
public T dbMapperManager(DbMapperManager dbMapperManager)
Configure the DB mapper manager to use.- Parameters:
dbMapperManager
- DB mapper manager- Returns:
- updated builder instance
-
mapperManager
public T mapperManager(MapperManager mapperManager)
Configure the mapper manager to use.- Parameters:
mapperManager
- mapper manager- Returns:
- updated builder instance
-
clientServices
public T clientServices(List<DbClientService> clientServices)
Configure the client services to use.- Parameters:
clientServices
- client service list- Returns:
- updated builder instance
-
statements
public T statements(DbStatements statements)
Configure the db statements to use.- Parameters:
statements
- statements- Returns:
- updated builder instance
-
-