Ths stack trace is just it. The rest is just from tomcat.
What I want to do is: when an specific type of bean is found, create dinamically a new bean related to the found one.
But where is the...
Type: Posts; User: ziba; Keyword(s):
Ths stack trace is just it. The rest is just from tomcat.
What I want to do is: when an specific type of bean is found, create dinamically a new bean related to the found one.
But where is the...
Is it possible to create *new* beans dinamically inside a post processor and add them to the application context?
I tried to call beanFactory.registerBeanDefinition() inside...
How can I get a reference to a Pointcut that was defined by AspectJ annotations?
I need to do it programatically, inside a BeanPostProcessor and then check if the bean just created matches the...
When using the schema based notation, the element <util:properties> has a "location" attribute marked as required in the xsd, so the code below is invalid:
<util:properties...
To conclude this thread, I resolved it this way:
Changed from
<tx:annotation-driven transaction-manager="txManager" order="2000000000"/>
to
I have many aspects that must be executed at a specified order, so I put the order in static constants, I don't want that information scattered around many xml files...
Using a properties file...
Yes, I can use <util:constant> to set a bean *property* not an *attribute*!
So the code below is not valid:
<util:constant id="txAspectOrder"...
Thanks! I didn't noticed it before, my IDE was lying to me...
My problem now is how to put the aspect order from a static field into an attribute! If only it was a property...
It seems that I...
Unfortunately not...
I'm using Spring 2.0 declarative transactions with <tx:annotation-driven/> and want an interceptor to be called *before* commit.
The problem is that the "order" property of the transaction aspect...