Class DataSourceInterceptor

java.lang.Object
org.spincast.plugins.jdbc.DataSourceInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class DataSourceInterceptor extends Object implements org.aopalliance.intercept.MethodInterceptor
  • Constructor Details

    • DataSourceInterceptor

      public DataSourceInterceptor(com.google.inject.Provider<JdbcScope> jdbcScopeProvider)
  • Method Details

    • getJdbcScope

      protected JdbcScope getJdbcScope()
    • invoke

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