Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.0
-
None
Description
The ApplicationContext must be shut down before the BeforeBeanDiscovery extension event. But otoh all internal beans and Extensions iteslf are defined as being @ApplicationScoped.
To solve this problem we need to have the Context#destroy() method only destroy custom beans. Additionally I will introduce a new method ApplicationContext#destroySystemBeans which finally also destroys Extensions, etc.