How to override the behavior of Spring @Autowired
- by Mark
Hi
a little background:
I am Using Spring 2.5, and specifically spring IOC and annotations.
I am using @Autowired in my code (the Autowiring is done by type)
and use @Component for exposing Classes to the Automatic wiring.
The situation described bellow arose while i tried to test my code.
now to the problem:
Note: i use a different Spring…