Package org.alfresco.util
Class AutoCommitInterceptor
- java.lang.Object
-
- org.alfresco.util.AutoCommitInterceptor
-
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor
public class AutoCommitInterceptor extends java.lang.Object implements org.aopalliance.intercept.MethodInterceptorCan be used to wrap a datasource to ensure that the connections that it returns have auto-commit switched on.- Author:
- dward
-
-
Constructor Summary
Constructors Constructor Description AutoCommitInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(org.aopalliance.intercept.MethodInvocation mi)
-