AOP with Spring Web Flow not working
Hi, I´m using AOP in Spring Web Flow to logging. Code: @Pointcut("execution(* org.flow.Pojo.*(..))") public void method() { } @Before("method()") public...
View ArticleProxying a jaxws:client with a ConcurrencyThrottleInterceptor gives bean...
We have a Apache CXF client generated using the wsdl2code codegen plugin. We are also using Spring to create a bean for our client using: Code: <jaxws:client id="globalWeatherSoapTarget"...
View ArticleAOP with MongoTemplate configuration issues
I'm new to AOP, and I've been trying to get it to log crud operations made via the mongotemplate. I have been able to configure it with @controllers and and define join points on methods in those...
View ArticleWebsphere 8 AOP advice not getting fired when session replication is ON
I have JAX-WS web-services application developed using Spring framework. Some methods are setup to call external rules engine via spring AOP. AOP configuration looks like this - Code: <bean...
View ArticleAsyncExecutionInterceptor lifecycle
When looking at the heapdump of the server, I noticed many instances of AnnotationAsyncExecutionInterceptors objects which are in turn holding on to a child spring context that had been closed and...
View Articleaop:scoped-proxy, not retaining state, duplicate objects
I'm converting an old EJB app using stateful session beans to use spring HttpInvoker. The trouble is, the session beans are not retaining state. Every time I call a method a brand new object is getting...
View ArticleNull-Pointer Exception while using AOP
application context file <!-- Aspect --> <!-- It allow @Component, @Service, @Controller, etc.. annotations --> <context:component-scan base-package="com.piyush.cns.*" />...
View ArticleSpring project conversion to @AspectJ project - strange behaviour.
Hello, I've already asked this question on stackoverflow but didn't get an answer so I decided to ask it here. I learn Spring from "Spring in action, 3rd edition", currently I'm at AOP overview with...
View ArticleJoinPoint getArgs() return null
Aspect works well, but why the method joinPoint.getArgs () returns a null? What is the reason? How to fix it? Standalone version works correctly, but when using Jetty always returns null. I use Spring...
View Articleaspectj-maven-plugin compilation warnings
Hi all, We are currently implementing a spring application using Spring Roo and Hibernate/Jpa to reverse-engineer code from an existing Mysql database and we are having some issues when compiling using...
View ArticleSpEL support in custom aspect annotation ala @Cacheable
I'd like to be able to use SpEL for parameter values in a custom aspect annotation like is supported for the "key" parameter value of the @Cacheable annotation. I was hoping that this would be fairly...
View ArticleSpEL support in custom aspect annotation ala @Cacheable
I'd like to be able to use SpEL for parameter values in a custom aspect annotation like is supported for the "key" parameter value of the @Cacheable annotation. I was hoping that this would be fairly...
View Article