Quantcast
Viewing all articles
Browse latest Browse all 2

init Method in Spring

Calling Bean using init() method in Spring, this section describes  the way to initialize a bean through its lifecycle events using the init() method .Here we have defined the property and values of  the bean using the init method as shown below:- <bean id=”mybean” class=”Bean” init-method=”init”>:-Here “Bean” is the name of the bean class which would be referred in […]Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 2

Trending Articles