Creates a new service container instance.
The VS Code extension context for accessing extension state.
ReadonlycontextThe VS Code extension context for accessing extension state.
Gets or lazily initializes the authentication provider. Creates a new DatalayerAuthProvider instance on first access.
The initialized IAuthProvider instance.
Gets or lazily initializes the Datalayer client. Creates a new Datalayer instance with VS Code context on first access.
The initialized ExtendedDatalayerClient instance.
Gets or lazily initializes the document bridge service. Creates a new DocumentBridge instance on first access. Responsible for downloading and opening documents from the platform.
The initialized IDocumentBridge instance.
Gets or lazily initializes the document registry. Creates a new DocumentRegistry instance on first access.
The initialized DocumentRegistry instance.
Gets or lazily initializes the error handler. Creates a new ErrorHandler instance on first access.
The initialized IErrorHandler instance.
Gets or lazily initializes the kernel bridge service. Creates a new KernelBridge instance on first access. Routes kernel connections between extension and webview.
The initialized IKernelBridge instance.
Gets or lazily initializes the logger for the service container. Creates a logger instance from the logger manager on first access.
The initialized ILogger instance.
Gets or lazily initializes the logger manager. Retrieves singleton LoggerManager instance on first access.
The initialized ILoggerManager instance.
Gets or lazily initializes the notebook network service. Creates a new NotebookNetworkService instance on first access. Provides HTTP and WebSocket proxy for notebook communication.
The initialized NotebookNetworkService instance.
Disposes all services in reverse initialization order. Cleans up resources and prepares for extension deactivation.
Initializes core services needed during extension activation. Only initializes Datalayer, auth, and logging - other services are lazy.
Performance: This method is optimized to initialize only what's needed During extension activation. Document/kernel services are deferred until First use (typically when a command is invoked).
Default implementation of the service container. Provides lazy initialization of services with proper dependency injection.