spring-aop
Why/How am I getting the error: NoClassDefFoundError: org/springframework/aop/framework/ProxyFactory
Goal: Start up a server which supports remote access to method calls. The application doesn\'t fail till after all services are created.[详细]
2023-02-12 00:57 分类:问答Spring AOP: get access to argument names
I\'m using Spring 3.x, Java 6. I have an @Around aspect with the following joinpoint: @Around(\"execution(public * my.service.*.*Connector.*(..))\")[详细]
2023-02-11 11:19 分类:问答Enabling AOP breaks my dependency injection for a factory bean that takes a string
Enabling AOP breaks my dependency injection for a factory bean that takes a string. Here\'s the fragment from the context file:[详细]
2023-02-08 03:56 分类:问答How do you dependency inject beans marked @Configurable after deserialized by Tomcat from SESSIONS.ser?
Note: this won\'t make any sense unless you\'re very familiar with Java, Spring AOP, and Tomcat. The problem is that beans marked @Configurable are not injected when deserialized by Tomcat SESSIONS.s[详细]
2023-02-07 05:14 分类:问答Need help creating a specific pointcut that utilizes a value from a method annotation
I have the following method @AutoHandling(slot = FunctionalArea.PRE_MAIN_MENU) @RequestMapping(method = RequestMethod.GET)[详细]
2023-02-06 04:28 分类:问答Need help creating a specific pointcut inside of a method
I started with an original question on Need help creating a specific pointcut that utilizes a value from a method annotation[详细]
2023-02-05 23:06 分类:问答Spring start a transaction with object created by new
I have a POJO class with a method annotated with @Transactional public class Pojo { @Transactional public void doInTransaction() {[详细]
2023-02-05 11:35 分类:问答Spring AOP slow startup time
We\'re using Spring (3.0.5) AOP with @AspectJ style annotations and <aop:aspectj-autoproxy/> . We use it for transactions, auditing, profiling etc. It works fine except that the startup time of[详细]
2023-02-04 13:40 分类:问答Spring autowiring using @Configurable
I\'m playing with the idea of using Spring @Configurable and @Autowire to inject DAOs into domain objects so that they do not need direct knowledge of the persistence la开发者_如何学编程yer.[详细]
2023-02-04 05:42 分类:问答MethodInvocation always returns null from pointcut expression
I defined one pointcut like below: <aop:pointcut id=\"getAllDataCut\" expression= \"execution(* com.example.test.getAllData(com.example test.User)) and args(usr)\" />[详细]
2023-02-01 00:08 分类:问答