class_docstr: An Application is a factory for Document instances.
  
      
class_docstr_tok: ["An","Application","is","a","factory","for","Document","instances","."]
docstr: Invoked to execute code when a new session is created.
  
  This method calls ``on_server_loaded`` on each handler, in order,
  with the server context passed as the only argument.
docstr_tok: ["Invoked","to","execute","code","when","a","new","session","is","created",".","This","method","calls","``","on_server_loaded","``","on","each","handler",",","in","order",",","with","the","server","context","passed","as","the","only","argument","."]
code: def on_server_loaded(self, server_context: ServerContext) -> None:
      """Invoked to execute code when a new session is created.
  
      This method calls ``on_server_loaded`` on each handler, in order,
      with the server context passed as the only argument.
  
      """
      for h in self._handlers:
          h.on_server_loaded(server_context)
  
imports: from __future__ import annotations
  import logging
  from abc import ABCMeta, abstractmethod
  from typing import TYPE_CHECKING, Any, Awaitable, Callable, ClassVar
  from ..core.types import ID
  from ..document import Document
  from ..settings import settings
label_desc: Use image node_id 9 for calling the Application obj's underlying member method code with example usage: obj.on_server_loaded(server_context) without return types