tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Tsai <jun.t...@gmail.com>
Subject Re: @InjectObject spring beans proxyed with Spring-AOP problem.
Date Fri, 02 Sep 2005 14:09:29 GMT
If I access the object by spring directly,all works fine.
Only when I use T4-B5 to inject the spring object proxyed with 
Spring-AOP,IllegalArgumentException was thrown.
If I use T4-B5 to inject the spring object without spring-AOP.all works 
fine.
why?
Thanks.
Jun Tsai

 On 9/2/05, jocsch <jocsch@freaquac.de> wrote: 
> 
> Just a thought:
> Did you try to extract an interface out of the class and make a proxy on
> the interface? Then cglib should be omitted and a jdk dynamic proxy (or
> something like that) would be created.
> Don't know if it works but I remember I had a similar issue with proxied
> classes once in spring tests.
> 
> Markus
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 


-- 
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message