Initialize a Boot context for extracted servlet registrations

Proprietary

Initialize extracted servlet registration beans on the existing Dropwizard servlet context. Supply the existing application and validated configuration instances, and close Spring with the Dropwizard servlet context lifecycle. Retain the original launcher, server, CLI, YAML and dependencies. Only public top-level modern applications with an empty run method and extracted registration beans and no bootstrap customization are supported; retain and flag other application contracts.

io.moderne.java.dropwizard.boot.InitializeBootServletContext
mod run . --recipe=io.moderne.java.dropwizard.boot.InitializeBootServletContext

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.