org.springframework.context.event.internalEventListenerProcessor and org.springframework.context.event.internalEventListenerFactory are the last two remaining annotation-based processors that are contributed to an AOT context. We should detect and register the listeners at build-time so that these beans are no longer necessary.

Comment From: snicoll

This is definitely in the nice-to-have category as @Reflective-based hints have been added so that this works with the current arrangement, see https://github.com/spring-projects/spring-framework/commit/d0afbe40e6c5e925de82bb1fa567a218d9aa126f

Comment From: snicoll

I think this is good enough for now. When we revisit how the runtime infrastructure translates annotation-based hook points to a declarative API, we can certainly get back to this.