Package org.apache.ibatis.mapping
Class Environment.Builder
- java.lang.Object
-
- org.apache.ibatis.mapping.Environment.Builder
-
- Enclosing class:
- Environment
public static class Environment.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Environment
build()
Environment.Builder
dataSource(DataSource dataSource)
String
id()
Environment.Builder
transactionFactory(TransactionFactory transactionFactory)
-
-
-
Constructor Detail
-
Builder
public Builder(String id)
-
-
Method Detail
-
transactionFactory
public Environment.Builder transactionFactory(TransactionFactory transactionFactory)
-
dataSource
public Environment.Builder dataSource(DataSource dataSource)
-
id
public String id()
-
build
public Environment build()
-
-