Class AutoCommitInterceptor

  • All Implemented Interfaces:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

    public class AutoCommitInterceptor
    extends Object
    implements org.aopalliance.intercept.MethodInterceptor
    Can be used to wrap a datasource to ensure that the connections that it returns have auto-commit switched on.
    Author:
    dward
    • Constructor Detail

      • AutoCommitInterceptor

        public AutoCommitInterceptor()
    • Method Detail

      • invoke

        public Object invoke​(org.aopalliance.intercept.MethodInvocation mi)
                      throws Throwable
        Specified by:
        invoke in interface org.aopalliance.intercept.MethodInterceptor
        Throws:
        Throwable