| java.lang.Object gnu.expr.ModuleContext
ModuleContext | public class ModuleContext (Code) | | Maps modules to module instances.
Given a class, species a specific instance object for that class.
|
findInstance | public Object findInstance(ModuleInfo info)(Code) | | If there is no instance of the argument's class, allocated one.
|
getContext | public static ModuleContext getContext()(Code) | | For now returns the shared global ModuleContext.
Later provide a means for thread-specific overriding.
|
makeInstance | public Object makeInstance(ModuleInfo info)(Code) | | Allocate a new instance of the class corresponding to the argument.
|
|
|