C# Class Castle.Facilities.NHibernateIntegration.Internal.SessionFactoryActivator

Postpones the initiation of SessionFactory until Resolve
Inheritance: DefaultComponentActivator
Show file Open project: mahara/Castle.Facilities.NHibernateIntegration

Public Methods

Method Description
Create ( CreationContext context, Burden burden ) : object

Creates the ISessionFactory from the configuration

SessionFactoryActivator ( ComponentModel model, IKernelInternal kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : Core

Constructor for SessionFactoryActivator

Protected Methods

Method Description
RaiseCreatingSessionFactory ( ) : void

Calls the contributors

Method Details

Create() public method

Creates the ISessionFactory from the configuration
public Create ( CreationContext context, Burden burden ) : object
context CreationContext
burden Burden
return object

RaiseCreatingSessionFactory() protected method

Calls the contributors
protected RaiseCreatingSessionFactory ( ) : void
return void

SessionFactoryActivator() public method

Constructor for SessionFactoryActivator
public SessionFactoryActivator ( ComponentModel model, IKernelInternal kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : Core
model ComponentModel
kernel IKernelInternal
onCreation ComponentInstanceDelegate
onDestruction ComponentInstanceDelegate
return Core