Juergen Hoeller opened SPR-11416 and commented
Spring's auto-proxy creation infrastructure currently switches to a target-class proxy only if it has been explicitly requested or if no interfaces are being implemented at all. We should be smarter here and ignore container callback and marker interfaces for that decision, falling back to a target-class proxy even when BeanFactoryAware, InitializingBean etc are the only interfaces being implemented.
Affects: 4.0.1
Issue Links:
Referenced from: commits 9493380