I have the same problem - did you find a solution?
Type: Posts; User: clanie; Keyword(s):
I have the same problem - did you find a solution?
When using @Transactional, how do I control in which order the transactional advice and other aspects are applied?
I am aware of the Ordered interface, which I can use for the aspects I implement...
In the schema at http://www.springframework.org/schema/aop/spring-aop.xsd the config element has an proxyTargetClass attribute.
In the spring-aop.xsd file in the dist folder of the m4 distribution...
Forgot to mention I'm using 2.0m4.
Just tried to use m3 instead. With that I don't get this error. It fails because asm cannot read the class file of my advice, but I'll try to investigate that a...
Hi.
I have an bean definitions file, which works as expected in my unittests, but when I try to deploy my application on Tomcat, and the same bean definitions file is loaded by a...
Sorry for the late reply, but yes, I do find this behaviour somewhat odd.
Now that I know how it works it dosn't matter much, but what was really annoing was, that this bean definition
<bean...
Don't know about that classpathxml object. What I normally do is:
BeanFactory bFac = new CassPathXmlApplicationContext("ApplicationContext.xml");
MyBean bean = bFac.getBean("myBean");
Other...
I just don't believe this can be the intention, so I opened another Jira issue: http://opensource.atlassian.com/projects/spring/browse/SPR-1867
It dosn't normally behave like this. When I remove the AOP stuff i do get a cglib class-proxy. It is only after adding the <aop:config> Spring decided to use a jdk proxy...
Yes, that helped.
Thanks, Andreas, you saved my day - again :-)
I still don't understand why Spring chooses to create a proxy which implements A_TestBeanIF, when that interface isn't mentioned...
Using Spring 2.0M3
I have this little test, which works like a charm:
public class A_Test extends TestCase {
BeanFactory bFac;
Hi.
Is there any way to control the order in which aspects are applied?
I have this AOP configuratione:
<aop:config>
<aop:pointcut id="facadeMethods" expression="execution(*...
Of course, yes!
Thank you.
I don't think so.
Class#getMethod requires the method name and an array of argument classes.
The name I can get from the JoinPoint: jp.getSignature().getName().
I can also get the actual...
With a configuration like this, is advice applied in any particular order?
If not, is there any way to specify the order?
Hi.
I'm just getting started with Spring 2.0 AOP, and need a little help.
My aspect and test bean is declared as follows:
<aop:config>
<aop:aspect id="beforeAdviceBindingTests"...
Seems to me that Spring must be using the context classloader.
I found this in the Eclipse documentation:
-------------------- [Start: from Eclipse docs] ---------------------
FAQ 107 – How...