2018-06-01 11:58 GMT+02:00 Lyor Goldstein <[email protected]>: > >>> In our case, I don't see any real purpose for all those interfaces > beyond > linking together unrelated objects just because they hold the same kind > object. > > I think this is a worthy purpose nevertheless and feel very strongly that > we should keep them - I don't see the harm.... > > BTW, I could argue the same case against *InitializingBean* and > *DisposableBean* in view of *@PostConstruct* and *@PreDispose*, but I still > think they are very useful. >
Yeah, but that's historical. InitializingBean and PostConstruct were written before annotations were added to java ... -- ------------------------ Guillaume Nodet
