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

org.infinispan.client.hotrod.graalvm.Feature Maven / Gradle / Ivy

package org.infinispan.client.hotrod.graalvm;

import org.infinispan.commons.graalvm.ReflectiveClass;

public class Feature implements org.graalvm.nativeimage.hosted.Feature {

   public void beforeAnalysis(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess beforeAnalysis) {
      new NativeMetadataProvider(beforeAnalysis)
            .reflectiveClasses()
            .forEach(ReflectiveClass::register);
   }

   @Override
   public String getDescription() {
      return "Infinispan Client static reflection registrations for GraalVM";
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy