C# Class Castle.Facilities.DynamicLoader.DynamicLoaderRegistry

Stores instances of RemoteLoader.
Inheritance: IDisposable
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Implementation of IDisposable.

GetLoader ( string domainId ) : RemoteLoader

Gets the RemoteLoader instance for the specified domainId.

RegisterComponentOnDomain ( string domainId, string key, Type service, Type component ) : void

Registers a specific component on a specific domain.

The implementation simply calls GetLoader to get the correct RemoteLoader, then add the component to the RemoteLoader.Kernel.

RegisterLoader ( string domainId, RemoteLoader loader ) : void

Register a new loader, for the specified domainId.

Method Details

Dispose() public method

Implementation of IDisposable.
public Dispose ( ) : void
return void

GetLoader() public method

Gets the RemoteLoader instance for the specified domainId.
public GetLoader ( string domainId ) : RemoteLoader
domainId string
return RemoteLoader

RegisterComponentOnDomain() public method

Registers a specific component on a specific domain.
The implementation simply calls GetLoader to get the correct RemoteLoader, then add the component to the RemoteLoader.Kernel.
public RegisterComponentOnDomain ( string domainId, string key, Type service, Type component ) : void
domainId string
key string
service System.Type
component System.Type
return void

RegisterLoader() public method

Register a new loader, for the specified domainId.
public RegisterLoader ( string domainId, RemoteLoader loader ) : void
domainId string
loader RemoteLoader
return void