Package com.iizix.server.app
Class SystemApp
- java.lang.Object
- com.iizix.server.app.SystemApp
 
- public class SystemApp extends java.lang.ObjectClass loading and extracting data from the "iiziSystem.jar" app that contains default information among other things.- Author:
- Christopher Mindus
 
- Constructor Summary- Constructors - Constructor - Description - SystemApp()
 - Method Summary- All Methods Static Methods Concrete Methods - Modifier and Type - Method - Description - static void- dispose()Disposes of the SystemApp.- static AppFactory- getAppFactory()Gets the SystemApp AppFactory.- static ModuleProjectPropCnr- getModuleRoot()Gets the module project root container.- static <T extends GProp<?>>
 T- getProperty(java.lang.String path, java.lang.Class<T> cls)Gets a property from the System app.- static java.lang.String- getPublicVAPIDKey()Gets the VAPID public key for the SystemApp used for iiziRun.- static void- loadApp(PropFactory factory, PropMgr propMgr)Loads the iiziSystem.jar app.
 
- Method Detail- loadApp- public static void loadApp(PropFactory factory, PropMgr propMgr) throws PropException, java.io.IOException Loads the iiziSystem.jar app.- Parameters:
- factory- The property factory.
- propMgr- The property manager.
- Throws:
- PropException- For property errors.
- java.io.IOException- For I/O exceptions.
 
 - getProperty- public static <T extends GProp<?>> T getProperty(java.lang.String path, java.lang.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:
- java.lang.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 java.lang.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.