Quantcast
Channel: Spring AOP - why do i need aspectjweaver? - Stack Overflow
Browsing all 6 articles
Browse latest View live

Answer by Koray Tugay for Spring AOP - why do i need aspectjweaver?

You need the aspectjtools or the aspectjweaver dependencies when you use the AspectJ pointcut expression language. Please see the following classes: Foo.java public interface Foo { void foo(); void...

View Article



Answer by Richard Xue for Spring AOP - why do i need aspectjweaver?

You can browse spring website and find the answer on page of docs.spring.io The @AspectJ support can be enabled with XML or Java style configuration. In either case you will also need to ensure that...

View Article

Answer by beta-brad for Spring AOP - why do i need aspectjweaver?

I recently had a similar question Why does spring throw an aspectj error if it does not depend on aspectj? To use Spring AoP without an AspectJ dependency it must be done in xml. The annotations are a...

View Article

Answer by gkamal for Spring AOP - why do i need aspectjweaver?

Spring AOP implementation I think is reusing some classes from the aspectj-weaver. It still uses dynamic proxies - doesn't do byte code modification. The following comment from the spring forum might...

View Article

Answer by Santosh for Spring AOP - why do i need aspectjweaver?

You are using AspectJ style pointcut-expression @Aspect and @Before are part of AspectJ. Check this link. Regarding the AspectJ-weaver, its actually a bytecode weaver which weaves aspects into classes...

View Article


Spring AOP - why do i need aspectjweaver?

i wrote a very simple Aspect with Spring AOP. It works, but i have some problems understanding what is really going on. I don't understand why i have to add the aspectjweaver.jar? The Spring-AOP...

View Article
Browsing all 6 articles
Browse latest View live


Latest Images