spring-aop
Spring AOP: advice is not triggered
Trying to design simple aspect,that will print word \"logg\" to console,when any of public methods executed.[详细]
2023-04-12 07:41 分类:问答Clarification around Spring-AOP pointcuts and inheritance
Given the following example classes in my.package... public class Foo { public void logicNotInBar(){/*code*/}[详细]
2023-04-12 00:58 分类:问答Spring AOP Advice for Hibernate managed POJO
I have a parent-child relationship, such as Order to Order Item, which I have represented in the domain model like this:[详细]
2023-04-10 19:35 分类:问答Mixing JDK and CGLIB proxies within Spring
I have an application running with Spring, and I\'m using AOP in some places. Since I want to use the @Transactional annotation at interface level, I have to allow Spring to create JDK proxies. So, I[详细]
2023-04-10 01:24 分类:问答Spring jdbc with aop transaction configuration not committing
I am using Spring 3.0.6 in Tomcat 6 with JDK 1.6. I have configured Spring JDBC with declarative transaction using the Spring reference. I see following in the log for my delete query but after the ex[详细]
2023-04-09 18:26 分类:问答Adding aspects on services across OSGi bundles
I have an OSGi bundle (that开发者_如何学运维 is not owned by me - so I cannot change it!) that exposes (exports) a service EchoService, and I want to attach an aspect tomethods of this service (so as[详细]
2023-04-06 09:31 分类:问答Second invocation of Aspectj-adviced method in is ignored
I am in the process of adding some AspectJ advices in my Spring-based Java project. When I run an intercepted method once, it all works fine (i.e., the advice is executed). However, the next invocatio[详细]
2023-04-03 11:30 分类:问答Spring aop intercepting calls from within the same service class
I have a same scenario as mentioned in Spring @Transaction method call by the method within the same class, does not work?[详细]
2023-04-03 02:32 分类:问答Sample source code to learn spring aop [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-04-02 18:16 分类:问答spring mvc 3 - SessionAttributes doesn't seem to be working
I have tried and tried but can\'t figure out what is going on here. I have a simple controller annotated using @Controller[详细]
2023-03-29 20:13 分类:问答