The Custom init() method

Although the afterProperties() method helps us with the initialization of properties based on some logic, the code gets strongly coupled with the Spring API. To overcome this drawback, there is a way to initialize the bean using the custom initialization method. If the developer has written a custom init method, and configured it for the bean in the bean configuration as an init-method attribute, it will get called by the container.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.204.142