@Beta
public interface RpcRegistry
| Modifier and Type | Method and Description |
|---|---|
RpcService |
getRpcService(Class<? extends RpcService> serviceInterface)
Returns the RPC service implementation registered with the specified
RPC service interface.
|
Set<RpcService> |
getRpcServices()
Returns the set of all registered service implementations.
|
void |
registerRpcService(RpcService service)
Registers the specified RPC service.
|
void |
unregisterRpcService(RpcService service)
Registers the specified RPC service.
|
Set<RpcService> getRpcServices()
RpcService getRpcService(Class<? extends RpcService> serviceInterface)
serviceInterface - RPC service interfacevoid registerRpcService(RpcService service)
service - service implementation to be registeredRegisterException - if register failedvoid unregisterRpcService(RpcService service)
service - service implementation to be registeredRegisterException - if unregister failedCopyright © 2018. All rights reserved.