* @param workContext the WorkContext the scopes should use
* @return a new ScopeRegistry
*/
public ScopeRegistry createScopeRegistry(WorkContext workContext) {
ScopeRegistry scopeRegistry = new ScopeRegistryImpl(workContext);
new ModuleScopeObjectFactory(scopeRegistry); // self-registers
return scopeRegistry;
}