-
公开(公告)号:US06473895B1
公开(公告)日:2002-10-29
申请号:US09357508
申请日:1999-07-20
申请人: Cristina V. Lopes , Gregor J. Kiczales , John O. Lamping , Erik A. Hilsdale , Venkatesh Choppella , Taher H. Haveliwala
发明人: Cristina V. Lopes , Gregor J. Kiczales , John O. Lamping , Erik A. Hilsdale , Venkatesh Choppella , Taher H. Haveliwala
IPC分类号: G06F944
CPC分类号: G06F8/316
摘要: An aspect oriented system for implementing system monitoring and tracing is provided in which the monitoring and tracing functionality needs not be coded into the resources being monitored or traced. Rather, an aspect is provided which encapsulates the monitoring/tracing behavior. This behavior may easily and transparently be forced onto the resource by compiling the object class for the resource along with the monitoring/tracing aspect. When the monitoring/tracing is no longer needed, it is removed simply by recompiling the resource object classes without the aspect.
摘要翻译: 提供了一种用于实现系统监视和跟踪的面向方面的系统,其中监视和跟踪功能不需要编码到被监视或跟踪的资源中。 相反,提供了一个封装监视/跟踪行为的方面。 通过编译资源的对象类以及监视/跟踪方面,可以轻松,透明地将此行为强制转换到资源上。 当不再需要监视/跟踪时,只需重新编译没有方面的资源对象类即可将其删除。