Skip to content

Commit

Permalink
"BuiltModule" got renamed to "ModuleCrate"
Browse files Browse the repository at this point in the history
  • Loading branch information
andrus committed Nov 26, 2023
1 parent 71abae6 commit 948bd9b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package io.bootique.mybatis;

import io.bootique.BQModuleProvider;
import io.bootique.bootstrap.BuiltModule;
import io.bootique.ModuleCrate;
import io.bootique.config.ConfigurationFactory;
import io.bootique.di.BQModule;
import io.bootique.di.Binder;
Expand Down Expand Up @@ -52,8 +52,8 @@ public static MyBatisModuleExtender extend(Binder binder) {
}

@Override
public BuiltModule buildModule() {
return BuiltModule.of(this)
public ModuleCrate moduleCrate() {
return ModuleCrate.of(this)
.description("Integrates Mybatis persistence library")
.config(CONFIG_PREFIX, SqlSessionManagerFactory.class)
.build();
Expand Down

0 comments on commit 948bd9b

Please sign in to comment.