Quantcast
Channel: Spring Community Forums - AOP
Browsing index pages (83 articles)

SpEL 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


SpEL 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


aspectj-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 Article

strontium chloride 99%

Strontium Chloride Usage Strontium chloride is the precursor as compared to other compounds of strontium, such as yellow strontium chromate, which is used as a corrosion inhibitor for aluminium. The...

View Article

JoinPoint 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 Article


Spring 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 Article

Null-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 Article

aop: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 Article


AsyncExecutionInterceptor 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 Article


Websphere 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 Article

AOP 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 Article

Proxying 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 Article

{om}pga/rogers cup 2013 full stream

Jim Furyk, after a 3-wood struck so poorly off the 18th tee that he couldn't have reached the green even if he had been in the fairway, worked his way up the 472-yard hole until he had a 15-foot putt...

View Article


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 Article

problem with aop:aspectj-autoproxy

I was updating my project from spring 2.5 to 3.2 after that, when I tryed to load the context, it crash at aop:aspectj-autoproxy tag with the following error: 12:10:02 INFO...

View Article


AnnotationMatchingPointcut not working

The annotation: Code: @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) public @interface DeadlockRetry { } The Interceptor: Code: public class DeadlockRetryMethodInterceptor implements...

View Article

A prototype Quartz job causes Hibernate Lazy Initialization Exception

Hi All, Although LIE is quite popular issue of Hibernate, Spring, I could not solve my problem when I try to proxy a prototype Quartz job object. The environment is Spring 2.5.2 + Hibernate 3.0 +...

View Article


Polyacrylamide

3. Polyaluminium chloride has wide-range adaptability to the waters at different temperatures and a good solubility. 4. The liquid Poly aluminium chloride is slightly corrosive and suitable for the...

View Article

Why? Advice executed twice if dependency declared as class, once if as interface

I'm baffled by the following, can somebody explain what might be happening? Thanks much in advance. I'm injecting a dependency of type FiltererImpl, which implements a Filterer interface. On the...

View Article

Transaction propagation between two tx:advice

Hi all, I have a batch with spring and hibernate. I use declarative description for transaction. I've noticed that you can define multiple transaction advice as described here:...

View Article
Browsing index pages (83 articles)


Latest Images