def __load_stored_routines(self):
self._io.writeln('<STR_LIT>')<EOL>for routine_name in sorted(self._source_file_names):<EOL><INDENT>if routine_name in self._pystratum_metadata:<EOL><INDENT>old_metadata = self._pystratum_metadata[routine_name]<EOL><DEDENT>else:<EOL><INDENT>old_metadata = None<EOL><DEDENT>if routine_name in self._rdbms_old_metadata:<EOL><INDENT>old_routine_info = self._rdbms_old_metadata[routine_name]<EOL><DEDENT>else:<EOL><INDENT>old_routine_info = None<EOL><DEDENT>routine_loader_helper = self.create_routine_loader_helper(routine_name, old_metadata, old_routine_info)<EOL>routine_loader_helper.shadow_directory = self.__shadow_directory<EOL>metadata = routine_loader_helper.load_stored_routine()<EOL>if not metadata:<EOL><INDENT>self.error_file_names.add(self._source_file_names[routine_name])<EOL>if routine_name in self._pystratum_metadata:<EOL><INDENT>del self._pystratum_metadata[routine_name]<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self._pystratum_metadata[routine_name] = metadata<EOL><DEDENT><DEDENT>
Loads all stored routines into the RDBMS instance.