In Springs latest version, we can autowire a bean using annotation as @Autowired. This will autowire the bean using its type(or constructor, if applied on it).
@Autowired
Use @Component("beanname") in the java class definition of your bean
Then while autowiring use JSR 330
@Inject @Named(Value="beanname")