ishankhemani opened a new pull request, #15970:
URL: https://github.com/apache/dubbo/pull/15970

   Description
   
   This PR fixes the await logic in AwaitingNonWebApplicationListener for
   non-web Spring Boot applications using parent–child ApplicationContext
   hierarchies.
   
   Previously, the listener could incorrectly participate in the lifecycle when 
a
   child context was present. The listener should only operate on the root,
   non-web ApplicationContext, and must ignore child contexts.
   
   Changes
   
   Ensure onApplicationReadyEvent returns early for:
   
   non-root ApplicationContexts
   
   web ApplicationContexts
   
   Add a regression test to verify correct behavior when a non-web application
   has a parent–child context hierarchy
   
   Testing
   
   Added testMultipleContextNonWebApplication
   
   Verified that the listener does not enter await state for child contexts
   
   Fixes #13722


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to