spring-aop
Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0' defined in ServletContext resource
PROBLEM : I am creating a pointcut for execution of a method in a class . This class is a controller class and denoted by annotation @Controller and hence no bean is needed for the same which is requ[详细]
2023-01-31 23:17 分类:问答Spring AOP - exclude specific aspects?
I\'m using Spring 3.0.5, and was wondering if it\'s possible, to somehow exclude aspect classes from being loaded that have been annotated with the @Aspect stereotype, but at the same time, include ot[详细]
2023-01-29 23:33 分类:问答Spring AOP proxy
My code:- <context:annotation-config/> <bean id=\"arthmeticCalculator\" class=\"com.manoj.aop.test.CalculatorImpl\" lazy-init=\"true\"/>[详细]
2023-01-29 14:27 分类:问答Spring AOP Limitation when advised method calls methods on target
My use case is to log every method call on an object. After adding a method interceptor on the 开发者_开发百科target object, I call the method Foo. This method Foo calls a method Bar. Only the method[详细]
2023-01-28 17:30 分类:问答Spring AOP pointcut definition for string setter
I\'m developing an aspect that checks string arguments of setter methods of my entity package for empty strings and replace them with null values. But unfortunately my aspect doesn\'t works well :(. I[详细]
2023-01-28 01:19 分类:问答Aspectj overwrite an argument of a method
I\'m developing an aspect that checks arguments of setter methods and overwrites empty strings with null value. This is my state so far:[详细]
2023-01-27 08:20 分类:问答Transaction configuration for Spring Java configured context
I\'ve been struggling with this for a few hours now. I\'m trying to migrate my Spring XML configuration to a full Java based configuration.[详细]
2023-01-24 20:35 分类:问答Spring aop transaction not committing the transaction
I am using Spring 3.0.3, MyBatis 3.0.2 and mybatis-spring 1.0.0 on Apache Tomcat 6.0.29. I have used declarative transactions of spring for transaction management. The issue is that the transactions[详细]
2023-01-21 04:37 分类:问答spring 3.0 aop Pointcut is not well-formed: expecting 'name pattern' error
The following is my pointcut and advise declaration //PointCut on A method which takes two parameters and is in a DAO[详细]
2023-01-18 01:34 分类:问答How to get web session on Spring AOP
I have a question for using Spring AspectJ. I want to create an audit log when the user does som开发者_运维问答ething and get user information from web session to create the audit log.[详细]
2023-01-17 22:25 分类:问答