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

Postpones the initiation of SessionFactory until Resolve
Inheritance: DefaultComponentActivator
Afficher le fichier Open project: mahara/Castle.Facilities.NHibernateIntegration

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
RaiseCreatingSessionFactory ( ) : void

Calls the contributors

Method Details

Create() public méthode

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

RaiseCreatingSessionFactory() protected méthode

Calls the contributors
protected RaiseCreatingSessionFactory ( ) : void
Résultat void

SessionFactoryActivator() public méthode

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