Module runtime

Module runtime 

Source
Expand description

Runtime module integration for Epic 4 - Runtime Integration & Validation

Provides runtime module initialization, dependency resolution, and integration with the existing IoC container and HTTP routing system.

§Features

  • Topological sorting for module initialization order based on dependencies
  • Runtime dependency resolution with clear error reporting and module context
  • Integration with existing IocContainer and controller registration systems
  • Module lifecycle hooks for startup, shutdown, and health checks
  • Performance monitoring and validation for large module graphs

Structs§

DefaultLifecycleHook
Default lifecycle hook implementation
HealthCheckConfig
Configuration for health checks
ModulePerformanceMetrics
Performance metrics for module runtime operations
ModuleRuntime
Runtime module manager - orchestrates module loading and lifecycle
ModuleRuntimeInfo
Runtime information about a module
ModuleRuntimeStatistics
Runtime statistics for monitoring and debugging

Enums§

HealthStatus
Health status of a module
ModuleRuntimeError
Errors that can occur during module runtime operations
ModuleState
State of a module during runtime initialization

Traits§

ModuleLifecycleHook
Trait for module lifecycle hooks