Java - Spring - @Configurable
@Configurable
- this annotation allows instances of the decorated class to hold references to Spring beans
In Spring, injecting one bean into another bean is very common. However, sometimes it's desirable to inject a bean into an ordinary object. The following sections will present how to do so using the @Configurable annotation and an AspectJ weaver
Resources
, multiple selections available,