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

io.quarkus.primefaces.runtime.PrimeFacesFeature Maven / Gradle / Ivy

package io.quarkus.primefaces.runtime;

import org.graalvm.nativeimage.hosted.Feature;
import org.graalvm.nativeimage.hosted.RuntimeClassInitialization;

public class PrimeFacesFeature implements Feature {

    @Override
    public void afterRegistration(AfterRegistrationAccess access) {
        // XDEV Charts.js uses SecureRandom
        RuntimeClassInitialization.initializeAtRunTime("software.xdev.chartjs.model.color.Color");
        RuntimeClassInitialization.initializeAtRunTime("software.xdev.chartjs.model.color.HSLAColor");
        RuntimeClassInitialization.initializeAtRunTime("software.xdev.chartjs.model.color.RGBAColor");
        RuntimeClassInitialization.initializeAtRunTime(com.apptasticsoftware.rssreader.AbstractRssReader.class.getName());
    }

    @Override
    public String getDescription() {
        return "PrimeFaces runtime initialization";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy