tags:

views:

34

answers:

0

I have three service which host 3 interfaces

1) IFileTransfer 2) IManager 3) IProcessor

I also have a controllerservice to which 3 services are registered as namevalue pair (ie) "Service name" and "endpointaddress" .

But Since the interfaces of all the registered services are different , when I want to create a channel for the services from the controllerservice I have to know the type of the Interface also , which is not currentlly available with the controller.

Purpose of the

Controller service is to stop restart of registered service....

FTS service for file transfer.

Manager is to manage the FTS and Processor.

Processor does the job

Pls help me how to register this different interfaces so that when i create a channel for each registered "endpoint" I dont have to put an "if conditon" for the type .

or How can I design this in a better way .