Questions tagged as 'aop'

1
answer

java.lang.IllegalStateException when declaring aspect with Spring

I'm trying to declare the following: @Aspect @Component public class UpperCaseAdvice { @Before("@target(annotations.Model)") public void toUpperCase(JoinPoint joinPoint){ //faz alguma coisa } } I'm using the spring-...
asked by 24.11.2015 / 00:05
1
answer

Progress of the aspect-oriented paradigm [closed]

Nowadays there is little talk about POA, because it is no longer commented on in the networks? What caused its "disappearance", if it is not obsolete, where it is being applied. The projero Roo from spring.io strongly uses AspectJ. But I've...
asked by 26.07.2015 / 00:57
0
answers

Exception trapping for logging, using AOP with CDI in Java EE 7

Below I have part of a class, of which I want to eliminate the repetitive logging code through AOP. /** * Javadoc omitido */ public abstract class JpaDao<T extends LongIdentifiable> implements GenericDao<T> { @Overr...
asked by 14.05.2015 / 21:38
1
answer

Failed to build Spring MVC application when setting bean AOP

I'm trying to set up AOP in spring.xml from my Spring MVC application, but I can not build it. I consulted the documentation, but following it did not succeed. The code is as follows: <beans xmlns="http://www.springframework.org/schem...
asked by 24.06.2016 / 15:55