2.2.4AOP and Instrumentation

来源:互联网 发布:大数据笔试题目 编辑:程序博客网 时间:2024/06/07 16:38

Spring’s AOP module provides an AOP Alliance-compliant aspect-oriented programming implementation allowing you to define, for example, method-interceptors and pointcuts to cleanly decouple code that implements functionality that should be separated. Using source-level metadata functionality, you can also incorporate behavioral information into your code, in a manner similar to that of .NET attributes.

The separate Aspects module provides integration with AspectJ.

The Instrumentation module provides class instrumentation support and classloader implementations to be used in certain application servers.

Spring的AOP模块提供了AOP联盟兼容的面向切面编程实现,允许您定义,例如方法拦截器和切入点,来干净的解耦代码。使用源码级元数据的功能,您也可以将行为信息合并到你的代码,在类似于.NET属性的方式。 


单独的Aspects模块提供集成使用AspectJ。 


该仪器模块提供一流的仪器支持和类加载器实现在某些应用服务器使用。

0 0
原创粉丝点击