Skip to content

Avoid initializing ApplicationModulesRuntime unless necessary #375

@odrotbohm

Description

@odrotbohm

The ApplicationListener registered in SpringModulithRuntimeAutoConfiguration always triggers the initialization of the consumed ApplicationModulesRuntime, even if no ApplicationModuleInitializer instances are registered.

Furthermore, the initializing code for ApplicationModulesRuntime eagerly triggers the initialization of the ApplicationModulesBootstrap, despite AMR works with a lazily initialized ApplicationModules instance.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions