Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConnectionFactoryUtils.ResourceFactory.GetSession Method

Fetch an appropriate Session from the given EmsResourceHolder.

[Visual Basic]
Public Sub GetSession( _
   ByVal holder As EmsResourceHolder _
)
[C#]
ISession GetSession(
   EmsResourceHolder holder
);

Parameters

holder
the EmsResourceHolder

Return Value

an appropriate Session fetched from the holder, or

null
if none found

See Also

ResourceFactory Interface | Spring.Messaging.Ems.Connections Namespace