C# Class paramore.brighter.serviceactivator.Ports.ControlBusHandlerFactory

Inheritance: IAmAHandlerFactory
显示文件 Open project: iancooper/Paramore

Public Methods

Method Description
ControlBusHandlerFactory ( IDispatcher worker, Func commandProcessorFactory ) : System
Create ( Type handlerType ) : IHandleRequests

Creates the specified handler type.

Release ( IHandleRequests handler ) : void

Releases the specified handler.

Method Details

ControlBusHandlerFactory() public method

public ControlBusHandlerFactory ( IDispatcher worker, Func commandProcessorFactory ) : System
worker IDispatcher
commandProcessorFactory Func
return System

Create() public method

Creates the specified handler type.
public Create ( Type handlerType ) : IHandleRequests
handlerType System.Type Type of the handler.
return IHandleRequests

Release() public method

Releases the specified handler.
public Release ( IHandleRequests handler ) : void
handler IHandleRequests The handler.
return void