context library

Classes

AbstractApplicationContext
The base implementation of a configurable Jetleaf Application Context.
AnnotationConfigApplicationContext
ApplicationContext implementation that supports annotation-based configuration.
AnnotationConfigRegistry
Annotation-Based Configuration Registry
ApplicationContext
The central interface for a JetLeaf application context.
ApplicationContextEvent
A base class for all events that are published within the context of an ApplicationContext.
ApplicationContextInitializer<T extends ConfigurableApplicationContext>
Strategy interface for initializing an ApplicationContext before it is refreshed.
ApplicationEvent
A base class for application-specific events within the JetLeaf framework.
ApplicationEventBus
Defines the contract for an event multicaster that manages the registration, removal, and dispatching of ApplicationEvents to ApplicationListeners.
ApplicationEventListener<E extends ApplicationEvent>
A listener for a specific type of ApplicationEvent.
ApplicationModule
An interface in Jetleaf that defines a configurable application module.
ConfigurableApplicationContext
A specialized ApplicationContext that allows for full configuration and lifecycle management.
ContextClosedEvent
Event published when an ApplicationContext is closed.
ContextFailedEvent
Event published when the ApplicationContext fails to start or refresh.
ContextReadyEvent
Event published when the ApplicationContext is ready.
ContextRefreshedEvent
Event published when the ApplicationContext is refreshed or initialized.
ContextRestartedEvent
Event published when the ApplicationContext is restarted.
ContextStartedEvent
Event published when the ApplicationContext is started or restarted.
ContextStoppedEvent
Event published when the ApplicationContext is explicitly stopped.
EventObject
A base class for all framework-level events.
ExitCodeEvent
An ApplicationEvent that signals the application should exit with a specific exit code.
ExitCodeExceptionHandler
A strategy interface for mapping a specific Exception to a process exit code.
ExitCodeGenerator
Strategy interface for determining the exit code returned from a JetLeaf application or a process.
ExitCodeGenerators
A container and manager for multiple ExitCodeGenerator instances.
GenericApplicationContext
Generic ApplicationContext implementation that holds a single internal DefaultListablePodFactory instance and does not assume a specific pod definition format.
ImportClass
🫘 Represents an import entry with optional qualification metadata.
ImportSelector
🫘 A strategy interface for selecting which imports should be applied.
KeepAlive
A lifecycle-aware component that keeps the Dart VM alive as long as the ApplicationContext is running.
PodFactoryPostProcessor
Factory hook that allows for custom modification of an application context's pod definitions, adapting the pod property values of the context's underlying pod factory.
PodRegistrar
A contract in Jetleaf for components that can register pods into the application’s dependency container.
PodRegistry
A contract in Jetleaf that provides methods for managing pods in the container.
Spec<T>
A Jetleaf definition describing how a pod should be instantiated, configured, and managed inside the container.
SpecContext
A context object in Jetleaf provided to suppliers and pod definitions for resolving dependencies at runtime.

Enums

ApplicationType
Enumeration of types of applications that can be run in a JetLeaf environment.