io.quarkiverse.doma.runtime.devmode.DomaHotReplacementSetup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-doma Show documentation
Show all versions of quarkus-doma Show documentation
Simplify your database accesses with compile-time code generation
The newest version!
package io.quarkiverse.doma.runtime.devmode;
import java.nio.file.Path;
import java.util.List;
import java.util.Objects;
import io.quarkiverse.doma.runtime.DomaRecorder;
import io.quarkus.dev.spi.HotReplacementContext;
import io.quarkus.dev.spi.HotReplacementSetup;
public class DomaHotReplacementSetup implements HotReplacementSetup {
@Override
public void setupHotDeployment(HotReplacementContext hotReplacementContext) {
Objects.requireNonNull(hotReplacementContext);
List resourcesDirs = hotReplacementContext.getResourcesDir();
DomaRecorder.setHotReplacementResourcesDirs(resourcesDirs);
}
}