gnu.expr
public class ModuleContext extends Object
Constructor Summary | |
---|---|
ModuleContext(ModuleManager manager) |
Method Summary | |
---|---|
Object | checkInstance(ModuleInfo info) |
ModuleInfo | findFromInstance(Object instance) |
Object | findInstance(ModuleInfo info) If there is no instance of the argument's class, allocated one. |
static ModuleContext | getContext() For now returns the shared global ModuleContext.
|
ModuleManager | getManager() |
Object | makeInstance(ModuleInfo info) Allocate a new instance of the class corresponding to the argument. |
void | setInstance(ModuleInfo info, Object instance) |