deregisterService
Deregisters a service. Server will stop routing messages to it.
Parameters
Service
the exact type of the server to be deregistered, the same one that was used for registration. For example, for a service with MyService interface and MyServiceImpl implementation the type MyService should be specified explicitly.