Class ApplicationModule

  • All Implemented Interfaces:
    SandboxedModule

    public class ApplicationModule
    extends java.lang.Object
    implements SandboxedModule
    Application module based on KF.
    • Constructor Detail

      • ApplicationModule

        protected ApplicationModule​(ej.kf.Feature feature)
    • Method Detail

      • getIdentifier

        public java.lang.String getIdentifier()
        Description copied from interface: SandboxedModule
        Returns the module identifier.
        Specified by:
        getIdentifier in interface SandboxedModule
        Returns:
        the module identifier.
      • getModule

        public ej.kf.Module getModule()
        Description copied from interface: SandboxedModule
        Returns the associated KF module (a Feature for an application module or Kernel for the kernel module.
        Specified by:
        getModule in interface SandboxedModule
        Returns:
        the associated KF module.
      • getState

        public ej.kf.Feature.State getState()
        Description copied from interface: SandboxedModule
        Returns the state of the module.
        Specified by:
        getState in interface SandboxedModule
        Returns:
        the module state.
      • applyPolicy

        public void applyPolicy()
                         throws org.json.me.JSONException,
                                java.io.IOException
        Throws:
        org.json.me.JSONException
        java.io.IOException
      • applyThreadPriority

        public void applyThreadPriority()