I have one more question. Although my aspect has id="loggingAspect" the bean created has name org.springframework.aop.aspectj.AspectJPointcutAdvisor#0. Is it possible that my aspect bean will have...
Type: Posts; User: master_on; Keyword(s):
I have one more question. Although my aspect has id="loggingAspect" the bean created has name org.springframework.aop.aspectj.AspectJPointcutAdvisor#0. Is it possible that my aspect bean will have...
Ok, so I can have multiple aop:config blocks in xml but when I use BeanFactoryPostProcessor then aop:config is overwritten, right?
Thank you very much Marten
I have two aspects which have to always enabled and then I have few aspects which depends on instance of app. Please correct me if I understand it wrong - if I will have aspect configuration in...
OK, but what in case that I need to add new aspects?
Thanks Marten.
Hello,
I have defined two aspects in my basic applicationContext xml file:
<aop:config>
<aop:aspect id="decoratorAspect" ref="decorator">
<aop:pointcut expression="execution(*...
Thank you again Marten.
Caould you provide me the good way how to achieve what I want? It means extend list of providers and have transactions? The additional configuration (beans definitions)...
Hi,
I have BeanFactoryPostProcessor to add additional beans definitions and add references to these beans to list, which is a property of a bean (providers).
<bean id="mainBean"...
Thank you very much Marten. I've added ctx.refresh() and now I have proxy.
Thanks for your replies. So do you have any idea what can be missed in configuration? I have only this for transactions:
<bean id="txManager"...
Did you get the "service" as a proxy? I have it as a instance of the Service class. I don't have any information about the transactions :/
Basically my problem is very similar to:...
Hi all,
At the beginning I want to say hello for everyone, because I'm new at this forum.
And now to the point:
I'm using @Transactional and transaction management by annotation...