Package com.microej.kf.util.module
Class KernelModule
- java.lang.Object
-
- com.microej.kf.util.module.KernelModule
-
- All Implemented Interfaces:
SandboxedModule
public class KernelModule extends java.lang.Object implements SandboxedModule
Kernel module. Allows to collect the status of the resources used by the kernel.
-
-
Constructor Summary
Constructors Constructor Description KernelModule()Creates an instance of the kernel module.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSystemResourcesControllergetFileSystemResourceController()Returns the file system resource controller of this module.java.lang.StringgetIdentifier()Returns the module identifier.ej.kf.ModulegetModule()Returns the associated KF module (aFeaturefor an application module orKernelfor the kernel module.NetResourcesControllergetNetworkResourceController()Returns the network resource controller of this module.ej.kf.Feature.StategetState()Returns the state of the module.
-
-
-
Method Detail
-
getFileSystemResourceController
public FileSystemResourcesController getFileSystemResourceController()
Description copied from interface:SandboxedModuleReturns the file system resource controller of this module.- Specified by:
getFileSystemResourceControllerin interfaceSandboxedModule- Returns:
- the file system resource controller of this module.
-
getNetworkResourceController
public NetResourcesController getNetworkResourceController()
Description copied from interface:SandboxedModuleReturns the network resource controller of this module.- Specified by:
getNetworkResourceControllerin interfaceSandboxedModule- Returns:
- the network resource controller of this module.
-
getModule
public ej.kf.Module getModule()
Description copied from interface:SandboxedModuleReturns the associated KF module (aFeaturefor an application module orKernelfor the kernel module.- Specified by:
getModulein interfaceSandboxedModule- Returns:
- the associated KF module.
-
getIdentifier
public java.lang.String getIdentifier()
Description copied from interface:SandboxedModuleReturns the module identifier.- Specified by:
getIdentifierin interfaceSandboxedModule- Returns:
- the module identifier.
-
getState
public ej.kf.Feature.State getState()
Description copied from interface:SandboxedModuleReturns the state of the module.- Specified by:
getStatein interfaceSandboxedModule- Returns:
- the module state.
-
-