Class LauncherModuleLoader


  • public class LauncherModuleLoader
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<pro.gravit.launchserver.launchermodules.LauncherModuleLoader.ModuleEntity> launcherModules  
      java.nio.file.Path modulesDir  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addClassFieldsToProperties​(java.util.Map<java.lang.String,​java.lang.Object> propertyMap, java.lang.String prefix, java.lang.Object object, java.lang.Class<?> classOfObject)  
      void init()  
      void syncModules()  
      • Methods inherited from class java.lang.Object

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

      • launcherModules

        public final java.util.List<pro.gravit.launchserver.launchermodules.LauncherModuleLoader.ModuleEntity> launcherModules
      • modulesDir

        public final java.nio.file.Path modulesDir
    • Constructor Detail

      • LauncherModuleLoader

        public LauncherModuleLoader​(LaunchServer server)
    • Method Detail

      • init

        public void init()
      • syncModules

        public void syncModules()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • addClassFieldsToProperties

        public void addClassFieldsToProperties​(java.util.Map<java.lang.String,​java.lang.Object> propertyMap,
                                               java.lang.String prefix,
                                               java.lang.Object object,
                                               java.lang.Class<?> classOfObject)
                                        throws java.lang.IllegalAccessException
        Throws:
        java.lang.IllegalAccessException