In Spring framework, if one bean A does not depend on another bean B. That is A does not has property B. But some static block of B needs to be invoked before A is instantiated. In this case, depends-on attribute can be used for A, wherein A depends-on B.
No comments:
Post a Comment