Closed
Description
Alex Panchenko opened SPR-12913 and commented
I understand that the primary purpose of this interface is to be implemented by non-lazy beans.
I have the following case:
- initially developed as non-lazy bean, everything works as expected
- some time later I change that bean to be lazy (e.g.
lazy-init="true"
in xml) - it is not initialized anymore, and I have to change this interface to InitializingBean
I would suggest still calling this interface and logging a warning, that it is less useful in a lazy bean.
WDYT? Should I create a PR?
Affects: 4.1.6
Issue Links:
- ResourceHttpRequestHandler no longer works as prototype bean [SPR-14851] #19417 ResourceHttpRequestHandler no longer works as prototype bean
1 votes, 1 watchers