core library

Classes

AbstractExceptionDiagnoser<E extends Exception>
Base class for creating typed exception diagnosers that target a specific exception type E.
AnnotatedScopeMetadataResolver
A Jetleaf-provided implementation of ScopeMetadataResolver that determines scope metadata based on the presence of the @Scope annotation.
AnnotationAwareOrderComparator
A Jetleaf-provided OrderComparator implementation that determines ordering based on the presence of the @Order annotation or the Ordered interface.
ApplicationAvailability
Defines the contract for accessing and tracking an application's availability information, including both its liveness and readiness states.
ApplicationAvailabilityAutoConfiguration
Provides the default auto-configuration for managing and tracking application availability states—including both liveness and readiness.
ApplicationContextAware
🫘 Interface for components that need access to the ApplicationContext.
ApplicationDiagnostics
High-level diagnostics orchestrator combining both:
ApplicationEventBusAware
🫘 Interface for components that need access to the ApplicationEventBus.
AvailabilityEvent<Available extends AvailabilityState>
Represents an application-level event that conveys a change or report regarding an application's availability state.
AvailabilityState
A marker interface representing any application availability state.
Condition
The base interface for all JetLeaf condition evaluators.
ConditionalContext
Represents the conditional evaluation context in JetLeaf applications.
ConditionEvaluator
The ConditionEvaluator in Jetleaf is responsible for evaluating conditional annotations (e.g., Conditional, ConditionalOnClass, ConditionalOnPod) and determining whether a given source (class, method, or configuration) should be included in the Jetleaf application context.
ConversionServiceAware
🫘 Interface for components that need access to a ConversionService.
EntryApplicationAware
🚀 Interface for components that need access to the entry application class.
EnvironmentAware
🫘 Interface for components that can be configured with an Environment.
ExceptionDiagnoser
Defines the contract for components capable of analyzing exceptions and producing structured diagnostic information.
ExceptionDiagnosis
Represents a structured diagnostic report for an exception, providing human-readable context, optional recommended actions, and the originating exception itself.
ExceptionDiagnosisReporter
Defines the contract for components responsible for handling and reporting structured exception diagnoses.
ExceptionReporter
Provides an abstraction for reporting, logging, or forwarding exceptions that occur within the application.
LoggableExceptionDiagnosisReporter
An implementation of ExceptionDiagnosisReporter that outputs structured exception diagnosis information using the JetLeaf logging system.
MessageSourceAware
🫘 Interface for components that need access to a MessageSource.
OnAssetCondition
A Condition implementation that determines whether an annotated component, configuration, or pod should be activated based on the presence of a specific asset within the application's resource path.
OnClassCondition
A Condition implementation that evaluates the presence or absence of classes in the current runtime to determine if a component, pod, or configuration should be activated.
OnDartCondition
A Condition implementation that evaluates the current Dart SDK version to determine whether an annotated component, configuration, or pod should be activated.
OnExpressionCondition
A Condition implementation that dynamically evaluates an expression to determine whether a component, configuration, or pod should be activated.
OnPodCondition
A Condition implementation that evaluates the presence or absence of pods in the current ConditionalContext to determine whether a component, configuration, or definition should be activated.
OnProfileCondition
A Condition implementation that evaluates the application's currently active profiles to determine whether a component, configuration, or pod should be activated.
OnPropertyCondition
A Condition implementation that evaluates whether a component or pod should be activated based on the presence and value of properties in the current ConditionalContext.environment.
PodFactoryAware
🫘 Interface for components that need access to the PodFactory.
PodNameAware
🫘 Interface for components that need to know their assigned pod name.
Resource<Key, Value>
A generic abstraction for JetLeaf-compatible resource.
ScopeMetadataResolver
Strategy interface for resolving scope metadata for a given class in Jetleaf.
StartupEvent
An application–level event signaling that the JetLeaf application has completed its startup sequence.
ToJsonFactory
A lightweight serialization contract for objects that can be converted into a JSON-compatible Map<String, Object>.

Enums

LivenessState
Represents the liveness state of an application.
ReadinessState
Represents the readiness state of an application.

Exceptions / Errors

CircularDependencyException
Thrown when a circular dependency is detected within the framework's dependency graph, interceptor ordering, or initialization process.
MessageSourceException
An exception that occurs when resolving messages from a MessageSource.