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

io.quarkiverse.cxf.features.deprecated.logging.deployment.DeprecatedLoggingProcessor Maven / Gradle / Ivy

package io.quarkiverse.cxf.features.deprecated.logging.deployment;

import io.quarkiverse.cxf.features.deprecated.logging.DeprecatedLoggingRecorder;
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.annotations.ExecutionTime;
import io.quarkus.deployment.annotations.Record;

public class DeprecatedLoggingProcessor {

    @BuildStep
    @Record(ExecutionTime.RUNTIME_INIT)
    void warnAboutDeprecation(DeprecatedLoggingRecorder recorder) {
        /* Warn at build time */
        new DeprecatedLoggingRecorder().warnAboutDeprecation();
        /* Warn when starting the application */
        recorder.warnAboutDeprecation();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy