C# Class Castle.MicroKernel.Handlers.DefaultHandler

Inheritance: AbstractHandler
Show file Open project: castleproject/Windsor Class Usage Examples

Public Methods

Method Description
DefaultHandler ( ComponentModel model ) : System

Initializes a new instance of the DefaultHandler class.

Dispose ( ) : void
ReleaseCore ( Burden burden ) : bool

disposes the component instance (or recycle it)

Protected Methods

Method Description
AssertNotWaitingForDependency ( ) : void
InitDependencies ( ) : void
Resolve ( CreationContext context, bool instanceRequired ) : object
ResolveCore ( CreationContext context, bool requiresDecommission, bool instanceRequired, Burden &burden ) : object

Returns an instance of the component this handler is responsible for

Private Methods

Method Description
UnresolvableHandlerException ( ) : HandlerException

Method Details

AssertNotWaitingForDependency() protected method

protected AssertNotWaitingForDependency ( ) : void
return void

DefaultHandler() public method

Initializes a new instance of the DefaultHandler class.
public DefaultHandler ( ComponentModel model ) : System
model Castle.Core.ComponentModel
return System

Dispose() public method

public Dispose ( ) : void
return void

InitDependencies() protected method

protected InitDependencies ( ) : void
return void

ReleaseCore() public method

disposes the component instance (or recycle it)
public ReleaseCore ( Burden burden ) : bool
burden Burden
return bool

Resolve() protected method

protected Resolve ( CreationContext context, bool instanceRequired ) : object
context CreationContext
instanceRequired bool
return object

ResolveCore() protected method

Returns an instance of the component this handler is responsible for
protected ResolveCore ( CreationContext context, bool requiresDecommission, bool instanceRequired, Burden &burden ) : object
context CreationContext
requiresDecommission bool
instanceRequired bool
burden Burden
return object