title: Annotation based ServiceLocatorFactoryBean?
body: <p>I would like to implement Factory pattern in my project..i have gone through online resources and I came to know that spring ServiceLocatorFactoryBean should be implemented instead of normal java factory pattern....</p>
  
  <p>i have followed <a href="http://www.jcombat.com/spring/factory-implementation-using-servicelocatorfactorybean-in-spring" rel="noreferrer">this</a> link but it is explained in xml based....can any one tell me how to do it using annotations based Factory pattern?? </p>