Eager validation for missing destroy methods [SPR-5602] #10273
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Costin Leau opened SPR-5602 and commented
Currently, destroy methods are being discovered and invoked during destruction and any validation errors are only logged. The behaviour is different from init method which are validated at startup. An improvement would be to have the same behaviour for destroy methods as well - i.e. incorrect or missing methods would throw exceptions at startup (rather then at shutdown).
Affects: 2.5.6
Referenced from: commits bcf6f23
The text was updated successfully, but these errors were encountered: