C# Class Castle.MicroKernel.Lifestyle.AbstractLifestyleManager

Inheritance: ILifestyleManager
Afficher le fichier Open project: castleproject/Windsor

Méthodes publiques

Méthode Description
Dispose ( ) : void

Invoked when the container gets disposed. The container will not call it multiple times in multithreaded environments. However it may be called at the same time when some out of band release mechanism is in progress. Resolving those potential issues is the task of implementors

Init ( IComponentActivator componentActivator, IKernel kernel, ComponentModel model ) : void
Release ( object instance ) : bool
Resolve ( CreationContext context, IReleasePolicy releasePolicy ) : object

Méthodes protégées

Méthode Description
CreateInstance ( CreationContext context, bool trackedExternally ) : Burden
Track ( Burden burden, IReleasePolicy releasePolicy ) : void

Method Details

CreateInstance() protected méthode

protected CreateInstance ( CreationContext context, bool trackedExternally ) : Burden
context Castle.MicroKernel.Context.CreationContext
trackedExternally bool
Résultat Burden

Dispose() public abstract méthode

Invoked when the container gets disposed. The container will not call it multiple times in multithreaded environments. However it may be called at the same time when some out of band release mechanism is in progress. Resolving those potential issues is the task of implementors
public abstract Dispose ( ) : void
Résultat void

Init() public méthode

public Init ( IComponentActivator componentActivator, IKernel kernel, ComponentModel model ) : void
componentActivator IComponentActivator
kernel IKernel
model Castle.Core.ComponentModel
Résultat void

Release() public méthode

public Release ( object instance ) : bool
instance object
Résultat bool

Resolve() public méthode

public Resolve ( CreationContext context, IReleasePolicy releasePolicy ) : object
context Castle.MicroKernel.Context.CreationContext
releasePolicy IReleasePolicy
Résultat object

Track() protected méthode

protected Track ( Burden burden, IReleasePolicy releasePolicy ) : void
burden Burden
releasePolicy IReleasePolicy
Résultat void