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 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.StringgetIdentifier()Returns the module identifier.ModulegetModule()NetResourcesControllergetNetworkResourceController()Returns the network resource controller of this module.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 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 String getIdentifier()
Description copied from interface:SandboxedModuleReturns the module identifier.- Specified by:
getIdentifierin interfaceSandboxedModule- Returns:
- the module identifier.
-
getState
public Feature.State getState()
Description copied from interface:SandboxedModuleReturns the state of the module.- Specified by:
getStatein interfaceSandboxedModule- Returns:
- the module state.
-
-