You need to use a real AspectJ aspect with Spring, where you would like to inject some dependencies into this aspect as a Spring container starts up. Here is an AspectJ aspect: @Aspect public class VeryImportantAspect { ... public void setSomeDependency( SomeDependency dependency ) { this.dependency = dependency; } ... } Now let’s define it [...]
Trending Articles
More Pages to Explore .....