Package com.microej.kf.util.module
Interface SandboxedModuleHelper
-
- All Known Implementing Classes:
SandboxedModuleManager
public interface SandboxedModuleHelperSandboxed module helper.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigureInstalledFeatures()Initializes installed features and applies their resource policies (if provided).SandboxedModulegetCurrentModule()Returns theSandboxedModuleassociated with the current thread context.SandboxedModulegetModule(java.lang.String moduleName)Returns theSandboxedModulethat owns the given module name.
-
-
-
Method Detail
-
getCurrentModule
SandboxedModule getCurrentModule()
Returns theSandboxedModuleassociated with the current thread context.- Returns:
- the current
SandboxedModuleowning the current execution context.
-
getModule
@Nullable SandboxedModule getModule(java.lang.String moduleName)
Returns theSandboxedModulethat owns the given module name.- Parameters:
moduleName- the name of the module to look up.- Returns:
- the corresponding
SandboxedModule, ornullif none found.
-
configureInstalledFeatures
void configureInstalledFeatures()
Initializes installed features and applies their resource policies (if provided). This method only needs to be called when the Kernel operates in an XIP (Execute In Place) system. Refer to the documentation for more details.
-
-