Hi All,
I just want to clarify something. According to the CS reference, there is a
init-method property for beans so you can have a "secondary constructor"
which is run immediately after all dependencies have been provided.
But with constructor init(), you get all of the fully loaded beans passed
in, so you can call methods on those dependent beans in the init() method
already, so what is the purpose of the init-method property?
Only think I can think of is if you have decided to use setter injection but
need to call a method on one of the setter injected objects as part of the
overall construction process. Is this correct or am I missing something? Any
input appreciated!
Best Wishes,
Peter