tag:blogger.com,1999:blog-3237724005744642470.post8233660601965906800..comments2018-06-08T11:59:28.319+01:00Comments on Captain Debug's Blog: Implementing Spring's FactoryBean InterfaceRoger Hugheshttp://www.blogger.com/profile/07042290171112551665[email protected]Blogger3125tag:blogger.com,1999:blog-3237724005744642470.post-24732846937521980712014-04-09T20:07:09.650+01:002014-04-09T20:07:09.650+01:00Sravan
What you are seeing is correct behaviour, S...Sravan<br />What you are seeing is correct behaviour, Spring will always hide the FactoryBean from you when you try to inject one into one of your other Spring Beans.Roger Hugheshttps://www.blogger.com/profile/07042290171112551665[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-5846645894106363892014-04-09T08:21:52.029+01:002014-04-09T08:21:52.029+01:00We cannot get instance of Factorybean, whenever we...We cannot get instance of Factorybean, whenever we inject or autowire a bean of FactoryBean type spring will get the underlying instance.<br />In you configuration, although u said the bean id as MyFactoyrBean bu in reality it is instance of MessageDigestsravan kumarhttps://www.blogger.com/profile/08827293077282933286[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-42880886060052817802011-12-29T19:25:34.318+00:002011-12-29T19:25:34.318+00:00This did exactly what I needed. Thank you for pos...This did exactly what I needed. Thank you for posting such a clear example.Anonymous[email protected]