Class SystemApp

java.lang.Object
com.iizix.server.app.SystemApp

public class SystemApp extends Object
Class loading and extracting data from the "iiziSystem.jar" app that contains default information among other things.
Author:
Christopher Mindus
  • Constructor Details

    • SystemApp

      public SystemApp()
  • Method Details

    • loadApp

      public static void loadApp(PropFactory factory, PropMgr propMgr) throws PropException, IOException
      Loads the iiziSystem.jar app.
      Parameters:
      factory - The property factory.
      propMgr - The property manager.
      Throws:
      PropException - For property errors.
      IOException - For I/O exceptions.
    • getProperty

      public static <T extends GProp<?>> T getProperty(String path, Class<T> cls)
      Gets a property from the System app.
      Parameters:
      path - Path to the panel from the module base container.
      cls - The class.
      Returns:
      The property, or null if not found.
      Throws:
      ClassCastException - If the property if not of the specified class.
    • getAppFactory

      public static AppFactory getAppFactory()
      Gets the SystemApp AppFactory.
      Returns:
      The AppFactory instance.
    • getModuleRoot

      public static ModuleProjectPropCnr getModuleRoot()
      Gets the module project root container.
      Returns:
      The module root container.
    • getPublicVAPIDKey

      public static String getPublicVAPIDKey()
      Gets the VAPID public key for the SystemApp used for iiziRun.
      Returns:
      A Base64-encoded String containing an ECDSA P-256 public key that the push server will use to authenticate the server.
    • dispose

      public static void dispose()
      Disposes of the SystemApp.