public Interceptors addGlobalServiceInterceptor ( Interceptor globalServiceInterceptor ) { if ( globalServiceInterceptor == null ) { throw new IllegalArgumentException ( "globalServiceInterceptor can not be null." ) ; } InterceptorManager . me ( ) . addGlobalServiceInterceptor ( globalServiceInterceptor ) ; return this ; }
Add the global service interceptor to intercept all the method enhanced by aop Enhancer .