spring-aop
Spring AOP misses something
I\'m just playing with AspectJ (1.6) with Spring (2.5), but it seems not to work in the proper way. I set up my \"beans.xml\" using:[详细]
2023-01-16 15:16 分类:问答How to automatically set date_created using spring aop
i\'ve been working on a project in java+maven+spring+hibernate and i wanted to automatically assign the current date to the POJOs before the calling of saveorupdate. i wouldn\'t mind creating new Date[详细]
2023-01-16 03:58 分类:问答Why proxy class is required for Spring AOP?
What is th开发者_Python百科e responsibity of the proxy class in AOP? What is the role of that?Dynamic proxies are used to execute additional code before/after methods of your beans. The most trivial e[详细]
2023-01-16 02:26 分类:问答BeanNotOfRequiredTypeException with Spring AOP
I am trying my hands at spring aop and below the spring config file: <?xml version=\"1.0\" encoding=\"UTF-8\"?>[详细]
2023-01-14 01:06 分类:问答AspectJ Load time weaver doesn't detect all classes
I am using Spring\'s declarative transactions (the @Transactional annotation) in \"aspectj\" mode. It works in most cases exactly like it should, but for one it doesn\'t. We can call it Lang (because[详细]
2023-01-13 20:28 分类:问答Spring @Transactional is applied both as a dynamic Jdk proxy and an aspectj aspect
I am in the process of adding Spring declarative transactions via the @Transactional annotation to an existing Java project.[详细]
2023-01-13 07:52 分类:问答Invoke proxy AOP by calling method within the bean
lets say the I have got a bean called with two methods \'foo\' and \'goo\' and \'goo\' is marked with AOP interception call.[详细]
2023-01-12 21:56 分类:问答Spring logging by package name
I need to log many classes in some packages in a project which I can not change its source code. So I need a solution which I can specify package name, and with spring aop add logging to that package\[详细]
2023-01-12 16:22 分类:问答Spring Security and AOP
Is it possible开发者_JAVA技巧 to create a custom @Aspect and apply it to the Classes/Methods within Spring Security (3.0.3)?[详细]
2023-01-10 14:02 分类:问答How to catch the exception thrown from a Spring AOP Advice
I have my own exception \"MyOwnException\" and throw this exception from my service class public void service() throws MyOwnException[详细]
2023-01-10 11:28 分类:问答