Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

OpenSessionInViewModule.Init Method

Register context handler and look up SessionFactoryObjectName under the application configuration key, Spring.Data.NHibernate.Support.OpenSessionInViewModule.SessionFactoryObjectName if not using the default value (i.e. sessionFactory) and look up the SingleSession setting under the application configuration key, Spring.Data.NHibernate.Support.OpenSessionInViewModule.SingleSession if not using the default value of true.

[Visual Basic]
Public NotOverridable Sub Init( _
   ByVal context As HttpApplication _
) _
    Implements IHttpModule.Init
[C#]
public void Init(
   HttpApplication context
);

Parameters

context
The standard HTTP application context

Implements

IHttpModule.Init

See Also

OpenSessionInViewModule Class | Spring.Data.NHibernate.Support Namespace