context library

Jetleaf Context sub-library

This sub-library provides application and server context abstractions for the jetleaf_web package.

Importing package:jetleaf_web/context.dart exposes types for managing and accessing server and web application contexts, including default implementations, aware processors, and context hierarchies.

These APIs allow components and modules to interact with the application environment and shared state in a structured manner.

Classes

ConfigurableWebApplicationContext
/// A web-specific ApplicationContext that allows configuration and lifecycle management of the web application context.
ContextPathAware
A contract for components that need knowledge of the server's context path.
IoServerContext
IoServerContext
ServerContext
Represents the runtime environment of a JetLeaf web server.
ServerContextAware
A contract for components that need access to the ServerContext.
ServerContextInitializer<T extends ServerContext>
Defines a callback-style initializer that can customize a ServerContext before the web server becomes active.
ServerWebApplicationContext
A specialized AnnotationConfigApplicationContext implementation that provides full JetLeaf web runtime capabilities.
WebApplicationContext
A specialized ApplicationContext tailored for web applications.
WebAwareProcessor
A pod initialization processor that automatically injects web-specific dependencies into pods implementing web-aware interfaces within a ServerWebApplicationContext.
WebServerAware
A contract for components that require access to the WebServer instance.