C# Class Castle.MicroKernel.Lifestyle.PoolableLifestyleManager

Inheritance: AbstractLifestyleManager
ファイルを表示 Open project: castleproject/Windsor Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
PoolableLifestyleManager ( int initialSize, int maxSize ) : System
Release ( object instance ) : bool
Resolve ( CreationContext context, IReleasePolicy releasePolicy ) : object

Protected Methods

Method Description
CreatePool ( int initialSize, int maxSize ) : IPool
PoolCreationCallback ( CreationContext context, IReleasePolicy releasePolicy ) : Burden
Track ( Burden burden, IReleasePolicy releasePolicy ) : void

Method Details

CreatePool() protected method

protected CreatePool ( int initialSize, int maxSize ) : IPool
initialSize int
maxSize int
return IPool

Dispose() public method

public Dispose ( ) : void
return void

PoolCreationCallback() protected method

protected PoolCreationCallback ( CreationContext context, IReleasePolicy releasePolicy ) : Burden
context Castle.MicroKernel.Context.CreationContext
releasePolicy IReleasePolicy
return Burden

PoolableLifestyleManager() public method

public PoolableLifestyleManager ( int initialSize, int maxSize ) : System
initialSize int
maxSize int
return System

Release() public method

public Release ( object instance ) : bool
instance object
return bool

Resolve() public method

public Resolve ( CreationContext context, IReleasePolicy releasePolicy ) : object
context Castle.MicroKernel.Context.CreationContext
releasePolicy IReleasePolicy
return object

Track() protected method

protected Track ( Burden burden, IReleasePolicy releasePolicy ) : void
burden Burden
releasePolicy IReleasePolicy
return void