intercept method
常见例句
- You'll then set up Spring AOP's TransactionProxyFactoryBean to intercept method calls and declaratively apply a transaction context to the DOA.
然后要设置 Spring AOP 的 TransactionProxyFactoryBean,让它拦截方法调用并声明性地把事务上下文应用到 DOA。 - For example, TransactionProxyFactoryBean is a convenience proxy class that can intercept method calls to an existing class and apply a transaction context to a transaction bean.
例如,TransactionProxyFactoryBean 是个方便的代理类,能够拦截对现有类的方法调用,并把事务上下文应用到事务 bean。 - Next, you insert Spring's TransactionProxyFactoryBean, which will intercept method calls to the application's CustomerDAOImpl object and declaratively apply a transaction context to it.
接下来,插入 Spring 的 TransactionProxyFactoryBean,它会拦截对应用程序的 CustomerDAOImpl 对象的方法调用,并声明性地在它上面应用事务。 返回 intercept method