Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CacheParameterAdvice Class

Implementation of a parameter caching advice.

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


[Visual Basic]
Public Class CacheParameterAdvice
    Inherits BaseCacheAdvice
    Implements IAfterReturningAdvice, IAdvice
public class CacheParameterAdvice : BaseCacheAdvice, IAfterReturningAdvice, 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.


This advice can be used to cache the parameter of the method.

Information that determines where, how and for how long the return value will be cached are retrieved from the CacheParameterAttributes that are defined on the pointcut.

Parameter values are cached *after* the target method is invoked in order to capture any parameter state changes it might make (for example, it is common to set an object identifier within the save method for the persistent entity).


Namespace: Spring.Aspects.Cache

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

See Also

CacheParameterAdvice Members | Spring.Aspects.Cache Namespace | CacheParameterAttribute