Top "Spring-aop" questions

Spring AOP is the Spring Framework's version of AOP, implemented in pure Java and using the @AspectJ annotations from the AspectJ project.

Spring - @Transactional - What happens in background?

I want to know what actually happens when you annotate a method with @Transactional? Of course, I know that Spring …

java spring spring-aop spring-jdbc transactional
@AspectJ pointcut for all methods of a class with specific annotation

I want to monitor all public methods of all Classes with specified annotation (say @Monitor) (note: Annotation is at class …

java aop aspectj spring-aop
Spring AOP: What's the difference between JoinPoint and PointCut?

I'm learning Aspect Oriented Programming concepts and Spring AOP. I'm failing to understand the difference between a Pointcut and a …

spring aop aspectj spring-aop pointcut
Spring AOP vs AspectJ

I am under the impression that Spring AOP is best used for application specific tasks such as security, logging, transactions, …

java spring design-patterns aspectj spring-aop
Spring autowiring using @Configurable

I'm playing with the idea of using Spring @Configurable and @Autowire to inject DAOs into domain objects so that they …

java spring aspectj spring-aop
Spring @Transaction method call by the method within the same class, does not work?

I am new to Spring Transaction. Something that I found really odd, probably I did understand this properly. I wanted …

java spring aspectj spring-aop
How to get a method's annotation value from a ProceedingJoinPoint?

I have below annotation. MyAnnotation.java @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface MyAnnotation { } SomeAspect.java public class SomeAspect{ @…

java spring spring-aop spring-3 java-ee-7
Using a request scoped bean outside of an actual web request

I have a web application that has a Spring Integration logic running with it in a separated thread. The problem …

spring spring-aop spring-integration
Spring AOP not working for method call inside another method

There are two methods defined in ABC.java public void method1(){ ......... method2(); ........... } public void method2(){ ............... ............... } I want to have AOP …

java spring spring-aop