Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConnectionFactoryUtils.ResourceFactory.GetConnection Method

Fetch an appropriate Connection from the given EmsResourceHolder.

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

Parameters

holder
the EmsResourceHolder

Return Value

an appropriate Connection fetched from the holder, or

null
if none found

See Also

ResourceFactory Interface | Spring.Messaging.Ems.Connections Namespace