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 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.
-
-