spring_auto_configuration library
The beans spring_boot_dart adds to every application by itself: a
messageSource, a JSON ObjectMapper, a Validator, the
lifecycleProcessor with the shutdown timeout of the configuration and
the applicationAvailability (liveness and readiness).
Applications do not import this file. The generator of every
application that depends on spring_boot_dart finds it (a package's
lib/spring_auto_configuration.dart is where it looks for an
@AutoConfigurationModule) and passes the module to the generated
springApplication.
Properties
- springBootAutoConfiguration → BeanModule
-
The auto-configuration of
spring_boot_dart:MessageSourceAutoConfiguration,JacksonAutoConfiguration,JsonSchemaAutoConfiguration,ValidationAutoConfiguration,LifecycleAutoConfiguration,ApplicationAvailabilityAutoConfiguration,ObservationAutoConfigurationandIsolateAutoConfiguration.final - springBootObservedAnnotationsAutoConfiguration → BeanModule
-
@Observedput into effect (ObservedAnnotationsAutoConfiguration): in the build only withspring.observations.annotations.enabled: true, so without it no proxy is written for the beans marked@Observed.final