C# Class Castle.Applications.PestControl.Services.BuildSystems.BuildSystemManager

Summary description for BuildSystemManager.
Inheritance: IInitializable, IDisposable
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
AvailableBuildSystems ( ) : IBuildSystem[]

Queries the kernel for implementations of IBuildSystem. This allow new build system to be registered even without restarting the application. A more efficient approach however is to issue this query only once, but then you lost the ability to add/remove buildsystems at runtime

This approach invokes Resolve on the handler, but do not invoke the counter part release.

BuildSystemManager ( IKernel kernel ) : System
Dispose ( ) : void
Initialize ( ) : void

Method Details

AvailableBuildSystems() public method

Queries the kernel for implementations of IBuildSystem. This allow new build system to be registered even without restarting the application. A more efficient approach however is to issue this query only once, but then you lost the ability to add/remove buildsystems at runtime
This approach invokes Resolve on the handler, but do not invoke the counter part release.
public AvailableBuildSystems ( ) : IBuildSystem[]
return IBuildSystem[]

BuildSystemManager() public method

public BuildSystemManager ( IKernel kernel ) : System
kernel IKernel
return System

Dispose() public method

public Dispose ( ) : void
return void

Initialize() public method

public Initialize ( ) : void
return void