Reputation: 29
How to inject a class without using auto-wire annotation in spring?
Upvotes: 1
Views: 1832
Reputation: 44555
There are 3 ways to do injection with Spring:
@Autowired
(which you don't want)@Inject
(has most of the features as Autowired)Upvotes: 1