io.quarkus.observability.runtime.DevResourceShutdownRecorder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-observability-devservices Show documentation
Show all versions of quarkus-observability-devservices Show documentation
Serve and consume Observability Dev Services
package io.quarkus.observability.runtime;
import io.quarkus.observability.devresource.DevResources;
import io.quarkus.runtime.ShutdownContext;
import io.quarkus.runtime.annotations.Recorder;
@Recorder
public class DevResourceShutdownRecorder {
public void shutdown(ShutdownContext context) {
context.addLastShutdownTask(DevResources::stop);
}
}