Class Init


  • final class Init
    extends java.lang.Object
    Utility class to load the jffi stub library
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static boolean loaded  
      (package private) static java.lang.String stubLoaderClassName  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Init()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.util.List<java.lang.ClassLoader> getClassLoaders()  
      (package private) static void load()
      Loads the stub library
      private static java.lang.UnsatisfiedLinkError newLoadError​(java.lang.Throwable cause)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • loaded

        private static volatile boolean loaded
      • stubLoaderClassName

        static final java.lang.String stubLoaderClassName
    • Constructor Detail

      • Init

        private Init()
    • Method Detail

      • load

        static void load()
        Loads the stub library
      • getClassLoaders

        private static java.util.List<java.lang.ClassLoader> getClassLoaders()
      • newLoadError

        private static java.lang.UnsatisfiedLinkError newLoadError​(java.lang.Throwable cause)