Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsTemplate.GetSession Method

Fetch an appropriate Session from the given EmsResourceHolder.

[Visual Basic]
Protected Overridable Sub GetSession( _
   ByVal holder As EmsResourceHolder _
)
[C#]
protected virtual ISession GetSession(
   EmsResourceHolder holder
);

Parameters

holder
the EmsResourceHolder

Return Value

an appropriate Session fetched from the holder, or

null
if none found

See Also

EmsTemplate Class | Spring.Messaging.Ems.Core Namespace