title: How to insert property in Autodetected Component in Spring?
body: <p>I am using @Service annotation of spring, so that my class should be autodetected by spring and made available for autowiring.But in my class, I need a property 'sqlmap'.If I had been using way of creating beans instead of auto-detection, I would have supplied that property using property tag in that bean..
  So, is there any way I can inject my property in my class?Because unless that property is made available, spring will not be able to create bean of that class.</p>