Suppose I have bean, which init-method or constructor should be called after init-method of another bean. Is it possible?
Use depends-on attribute in spring context XML file:
depends-on
or @DependsOn annotation on bean if you are using annotations.
@DependsOn