aop
AspectJ - Why put transaction control in a seperate place?
Ok, I haven\'t fully understood the philosophy why AOP AspectJ is good for. I have now implemented a Logging and transaction control for when withdrawing money from a bankaccount. Alright, why is it g[详细]
2023-03-03 13:13 分类:问答Using PostSharp to intercept ADO.Net
I have quite a large code base using a variety of different ADO technologies (i.e. some EF and in some cases using ADO.Net directly).[详细]
2023-03-03 00:28 分类:问答AOP Spring Before Advice not working
The method DefaultProduitGeneriqueService.valider is not catched by the method traceWhenReturnedValueDoesntExistOrNotNecessary and I don\'t understand why?[详细]
2023-03-02 16:40 分类:问答Using AspectJ spring source tool Exception (Javassist Enhancement failed)
I am using AspectJ on Spring Source Tool. When I invoke aspects on the domain objects I get following exceptions[详细]
2023-03-02 11:36 分类:问答Using AOP techniques to intercept ADO.Net
I have quite a large code base using a variety of different ADO technologies (i.e. some EF and in some cases using ADO.Net directly).[详细]
2023-03-02 03:59 分类:问答aspect for internal method call
I have a requirement where in I need to place an aspect around an internal method call, by internal I mean[详细]
2023-03-01 06:27 分类:问答What is the best way to have interceptors for POJO?
EJB 3.0 comes with the concept of Interceptors, but then again they are applicable to EJBs only. My project requires developing Interceptors for POJO classes. One option for this开发者_JAVA技巧 is to[详细]
2023-03-01 06:17 分类:问答About Policy Enforcement with AspectJ
I am using Aspectj for proje开发者_如何学Cct-wide policy enforcement. One thing I am trying to implement now is that there should be no logic in any setter methods except simple validation with Guava[详细]
2023-02-28 20:38 分类:问答Disabling C++ code without macros
I hate macros. I\'m trying to avoid using them as much as I can, but I occasionally need them to enable / disable features in my code. Typically:[详细]
2023-02-28 09:23 分类:问答PostSharp aspect resolving type
We are using dependency inje开发者_如何学Goction with and IoC (Unity) and now I want to make an aspect with PostSharp that would basically log enter/exit of a method. My problem is that my logger is c[详细]
2023-02-27 02:19 分类:问答