Class SoftCachingModuleScriptProvider

java.lang.Object
org.mozilla.javascript.commonjs.module.provider.CachingModuleScriptProviderBase
org.mozilla.javascript.commonjs.module.provider.SoftCachingModuleScriptProvider
All Implemented Interfaces:
Serializable, ModuleScriptProvider

public class SoftCachingModuleScriptProvider extends CachingModuleScriptProviderBase
A module script provider that uses a module source provider to load modules and caches the loaded modules. It softly references the loaded modules' Rhino Script objects, thus a module once loaded can become eligible for garbage collection if it is otherwise unused under memory pressure. Instances of this class are thread safe.
Version:
$Id: SoftCachingModuleScriptProvider.java,v 1.3 2011/04/07 20:26:12 hannes%helma.at Exp $
Author:
Attila Szegedi
See Also: