LuaMindModuleRegistry

public final class LuaMindModuleRegistry implements AutoCloseable

Owns isolated module catalogs used to compose Lua-authored Mind programs.

Each owner scope controls one namespace. Module source is never exposed through Lua's require; the registry resolves a declared dependency graph in Java, snapshots the resolved sources into a LuaMindDefinition, and then evaluates that snapshot in a fresh restricted Lua environment for every entity binding.

Constructors

Link copied to clipboard
public void LuaMindModuleRegistry()

Types

Link copied to clipboard
public final class OwnerScope implements AutoCloseable
Owner-scoped registration and program-compilation interface.

Properties

Link copied to clipboard
public final static int MAX_DEPENDENCIES_PER_MODULE
Link copied to clipboard
public final static int MAX_MODULES_PER_OWNER
Link copied to clipboard
public final static int MAX_RESOLVED_MODULES_PER_PROGRAM
Link copied to clipboard
public final static int MAX_SOURCE_CHARACTERS

Functions

Link copied to clipboard
public synchronized void close()
Link copied to clipboard
public synchronized LuaMindModuleRegistry.OwnerScope openOwner(String namespace)
Opens the sole active module owner for a lower-case namespace.