parameters: (framework_directory_path, module_name)
return_statement: return importlib.import_module(module_name)
docstring: Loads a module from the ResourceManager subdirectory of the specified CloudGemFramework directory.
docstring_summary: Loads a module from the ResourceManager subdirectory of the specified CloudGemFramework directory.
docstring_tokens: Loads a module from the ResourceManager subdirectory of the specified CloudGemFramework directory .
function: def load_resource_manager_module(framework_directory_path, module_name):
      """Loads a module from the ResourceManager subdirectory of the specified CloudGemFramework directory."""
      
      framework_common_code_directory_path = get_framework_common_code_directory_path(framework_directory_path)
      resource_manager_directory_path = get_resource_manager_directory_path(framework_directory_path)
      imported_paths = resolve_imports(framework_common_code_directory_path, resource_manager_directory_path)
      lib_directory_path = os.path.join(resource_manager_directory_path, 'lib')
      
      new_sys_path = [resource_manager_directory_path]
      new_sys_path.extend(imported_paths)
      new_sys_path.append(lib_directory_path)
      new_sys_path.extend(sys.path)
      sys.path = new_sys_path
  
      return importlib.import_module(module_name)
function_tokens: def load_resource_manager_module ( framework_directory_path , module_name ) : framework_common_code_directory_path = get_framework_common_code_directory_path ( framework_directory_path ) resource_manager_directory_path = get_resource_manager_directory_path ( framework_directory_path ) imported_paths = resolve_imports ( framework_common_code_directory_path , resource_manager_directory_path ) lib_directory_path = os . path . join ( resource_manager_directory_path , 'lib' ) new_sys_path = [ resource_manager_directory_path ] new_sys_path . extend ( imported_paths ) new_sys_path . append ( lib_directory_path ) new_sys_path . extend ( sys . path ) sys . path = new_sys_path return importlib . import_module ( module_name )