All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkiverse.doma.runtime.devmode.DomaHotReplacementSetup Maven / Gradle / Ivy

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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy