intercept method
常見例句
- You'll then set up Spring AOP's TransactionProxyFactoryBean to intercept method calls and declaratively apply a transaction context to the DOA.
然後要設(shè)置 Spring AOP 的 TransactionProxyFactoryBean,讓它攔截方法調(diào)用竝聲明性地把事務(wù)上下文應(yīng)用到 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 是個(gè)方便的代理類,能夠攔截對現(xiàn)有類的方法調(diào)用,竝把事務(wù)上下文應(yīng)用到事務(wù) 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,它會(huì)攔截對應(yīng)用程序的 CustomerDAOImpl 對象的方法調(diào)用,竝聲明性地在它上麪?wèi)?yīng)用事務(wù)。 返回 intercept method