The only important DI piece missing is dynamic proxies and interception.
DI现在缺少的重要功能只有动态代理和拦截器了。
One solution, therefore, is to use dynamic proxies in some areas and not in others.
所以,有一种解决方案,就是在有些地方用动态代理,在其他地方则不用。
Unlike a tightly coupled approach, using dynamic proxies leaves you with validation code that is reusable and configurable.
与紧密耦合方法不同,使用动态代理给您带来了可以重用、可以配置的验证代码。
As with any technology, you should carefully evaluate the alternatives and use dynamic proxies only when they are the best solution for your application.
使用任何一种技术,您都应当仔细评估替代品,只有当动态代理是应用程序的最佳解决方案时才使用它。
Because validation is often a pre-method invocation operation, dynamic proxies provide us with a solution to the problems outlined in the previous examples.
因为验证通常是方法前调用操作,所以动态代理为我们提供了针对前面示例所指出的问题的解决方案。
Dynamic proxies are classes that implement a set of interfaces specified at runtime.
动态代理是这样一种类,它可以实现在运行时指定的一组接口。
Dynamic proxies provide a simple mechanism to invoke a Web service without requiring much knowledge about the underlying XML.
动态代理提供一种简单机制来调用Web服务,不需要您深入了解底层XML。
Dynamic proxies provide access to service endpoint interfaces (SEIs) at run time without requiring static generation of a stub class.
动态代理支持在运行时访问服务端点接口(SEI),不需要静态生成stub类。
Dynamic proxies provide access to service endpoint interfaces (SEIs) at run time without requiring static generation of a stub class.
动态代理支持在运行时访问服务端点接口(SEI),不需要静态生成stub类。
应用推荐