Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CachedSession Class

Wrapper for Session that caches producers and registers itself as available to the session cache when being closed. Generally used for testing purposes or if need to get at the wrapped Session object via the TargetSession property (for vendor specific methods).

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


[Visual Basic]
Public Class CachedSession
    Implements IDecoratorSession, ISession, IDisposable
public class CachedSession : IDecoratorSession, ISession, IDisposable

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.


Namespace: Spring.Messaging.Nms.Connections

Assembly: Spring.Messaging.Nms (in Spring.Messaging.Nms.dll)

See Also

CachedSession Members | Spring.Messaging.Nms.Connections Namespace