I don’t consider interceptors and AOP approach, the idea is that AOP reduces the need for code change. If we take the example that AOP illustrates with logging, interceptors breaks that concept.
Sorry to say Andrew, but the base of AOP is to create intercepting chains that can execute at specific point cuts, such as before, after, around, throws and more.
So interceptors are the base of continuous chained executions.
And wonder how to do this in ColdBox. As it stands now ColdBox from what I can tell I have to explicity setup customInterceptors to do this sort of thing, am I wrong?
The WireBox documentation is yet to be published, I am working on that. As for current AOP approaches, what currently exists are using the before and after advices like: preEvent, postEvent, preHandler, postHandler. Around events are by convention on handlers via aroundHandler()
Full scale AOP that can be applied to any CFC is still yet to be developed. However, it will be by conventions and the WireBox biding DSL that will be released this week hopefully.