Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid initializing ApplicationModulesRuntime unless necessary #375

Closed
odrotbohm opened this issue Nov 17, 2023 · 0 comments
Closed

Avoid initializing ApplicationModulesRuntime unless necessary #375

odrotbohm opened this issue Nov 17, 2023 · 0 comments
Assignees
Labels
in: runtime General runtime support type: improvement Minor improvements
Milestone

Comments

@odrotbohm
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: runtime General runtime support type: improvement Minor improvements
Projects
None yet
Development

No branches or pull requests

1 participant