Skip to content

add validation + quickfix to adopt @ApplicationModuleListener #1800

@martinlippert

Description

@martinlippert

Add a valuation that checks for:

  • does the project use Spring Modulith?
  • is a method annotated with @Async, @Transactional, @TransactionalEventListener

if this applies to a method, add a reconciler diagnostics that tells users that they can use @ApplicationModuleListener instead and offer a quick fix that replaces those three annotations with @ApplicationModuleListener.

Keep in mind to transfer corresponding annotation attributes when refactoring this to @ApplicationModuleListener.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions