Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CacheResultAdvice Class

Implementation of a result caching advice.

For a list of all members of this type, see CacheResultAdvice Members .

System.Object
   BaseCacheAdvice
      CacheResultAdvice

[Visual Basic]
Public Class CacheResultAdvice
    Inherits BaseCacheAdvice
    Implements IMethodInterceptor, IInterceptor, IAdvice
[C#]
public class CacheResultAdvice : BaseCacheAdvice, IMethodInterceptor, IInterceptor, IAdvice

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This advice can be used to cache the return value of the method.

Parameters that determine where, how and for how long the return value will be cached are retrieved from the CacheResultAttribute and/or CacheResultItemsAttribute that are defined on the pointcut.

Requirements

Namespace: Spring.Aspects.Cache

Assembly: Spring.Aop (in Spring.Aop.dll)

See Also

CacheResultAdvice Members | Spring.Aspects.Cache Namespace | CacheResultAttribute | CacheResultItemsAttribute