Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 394 Bytes

File metadata and controls

14 lines (9 loc) · 394 Bytes

CFTransaction

This aspect is a self-binding aspect that will surround methods with simple ColdFusion transaction blocks.

ClassMatcher MethodMatcher
any annotatedWith:transactional

To use, just declare in your binder, overriding the self-binding is totally optional.

mapAspect("CFTransaction").to("coldbox.system.aop.aspects.CFTransaction");