ServiceProxyFactory 接口

定义

Specifies the interface for the factory that creates proxies for remote communication to the specified service.

public interface ServiceProxyFactory

方法

createServiceProxy(Class<T> serviceInterfaceType, URI serviceUri)

Creates a proxy to communicate to the specified service using the remoted interface<T> 

</code> that the service implements.</p>

createServiceProxy(Class<T> serviceInterfaceType, URI serviceUri, ServicePartitionKey partitionKey, TargetReplicaSelector targetReplicaSelector, String listenerName)

Creates a proxy to communicate to the specified service using the remoted interface<T> 

</code> that the service implements.</p>

适用于