The class cast of the mock object into type Collaborator is necessary because the intercept method returns type object.
模拟对象到Collaborator类型的类强制转换十分有必要,因为intercept方法将返回类型Object。
Also, unlike the earlier examples, a class array in this scenario is included as an extra parameter to the intercept method.
此外,不同于先前的示例,此场景中的类数组作为附加参数被包含到了intercept方法中。
You'll then set up Spring AOP's TransactionProxyFactoryBean to intercept method calls and declaratively apply a transaction context to the DOA.
然后要设置SpringAOP的TransactionProxyFactoryBean,让它拦截方法调用并声明性地把事务上下文应用到DOA。
And we have done incomplete difference analysis to the model and test with reamer intercept method to ensure the correctness of the model.
对所得模型作残差分析,用刀切法加以检验,保证了模型的正确性。
An intercept method to determine critical hyper-planes of practical dynamic security region (PDSR) of power system is developed by use of knowledge of geometry.
利用几何学知识推导出了确定电力系统实用动态安全域(PDSR)临界超平面的截距法。
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。
In this case, I intercept each method call and go through all the method parameters.
在本例中,我截取了各个方法调用,并遍历了所有的方法参数。
WebSphere can also intercept a call to the execute method of a command object and store the content of the object within the dynamic cache.
WebSphere还可以拦截命令对象对execute方法的调用,并存储动态缓存内对象的内容。
This method accepts a SAX ErrorHandler implementation, allowing you the ability to intercept and respond to errors.
该方法接收一个SAXError Handler实现,允许截取和响应错误。
The ORB would then intercept the message and be responsible for finding an object that could implement the request, pass it the parameters, invoke its method, and return the results.
ORB截获这条消息,并负责搜索一个能执行该请求的对象,将参数传递给它,调用它的方法,然后返回结果。
With the infrastructure in place, I can intercept calls to setAttribute() and the invoke() method.
完成了基础架构后,就可以截获对setAttribute()和invoke()方法的调用了。
Aiming at the defects of the welding lines, the author adopts the method of projection intercept to calculate the length of the defect exactly and effectively.
本文针对焊缝等缺陷利用投影截距的方法,准确高效地计算出了缺陷的长度。
To understand the knowledge level of iron, attitude of iron supplementation and the association factors, a street intercept survey method was carried out at the urban bus stations in Beijing.
在北京市区的公共汽车站采用拦截访问调查法,了解被调查者的铁营养知识和补铁态度及与其相关的影响因素。
External experimental results show that the method can improve the detection distance of the laser radar, and the head-on intercept capture distance can improve about 2 ~ 3 times.
外场实验结果表明:该方法可有效地提高激光雷达的测距能力,迎头截获距离可提高约2 ~3倍。
Provide a container entrance to intercept the method invoker, and provide a method to improves the efficiency of method invoking by dynamic proxy mechanism.
利用动态代理机制实现容器入口设计,提出基于动态代理机制改进容器的方法调用。
Naphthenes in Saturates Fractions by Refractivity Intercept, Method of Test for 05.
用折射截取法测定饱和馏分中的矿物油的试验方法05。
Naphthenes in Saturates Fractions by Refractivity Intercept, Method of Test for 05.
用折射截取法测定饱和馏分中的矿物油的试验方法05。
应用推荐