Package com.iizix.server.app
Class SystemApp
java.lang.Object
com.iizix.server.app.SystemApp
Class loading and extracting data from the "iiziSystem.jar" app that contains default information among other things.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionstatic void
dispose()
Disposes of the SystemApp.static AppFactory
Gets the SystemApp AppFactory.static ModuleProjectPropCnr
Gets the module project root container.static <T extends GProp<?>>
TgetProperty
(String path, Class<T> cls) Gets a property from the System app.static String
Gets the VAPID public key for the SystemApp used for iiziRun.static void
loadApp
(PropFactory factory, PropMgr propMgr) Loads the iiziSystem.jar app.
Constructor Details
SystemApp
public SystemApp()
Method Details
loadApp
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
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
Gets the SystemApp AppFactory.- Returns:
- The AppFactory instance.
getModuleRoot
Gets the module project root container.- Returns:
- The module root container.
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.