ServiceProxyFactory Interface
public interface ServiceProxyFactory
Specifies the interface for the factory that creates proxies for remote communication to the specified service.
Method Summary
Modifier and Type | Method and Description |
---|---|
public<T extends Service> T |
createServiceProxy(Class<T> serviceInterfaceType, URI serviceUri)
Creates a proxy to communicate to the specified service using the remoted interface |
public<T extends Service> T |
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 |
Method Details
createServiceProxy
public public
Creates a proxy to communicate to the specified service using the remoted interface Parameters: Returns:<T>
</code> that the service implements.</p>
createServiceProxy
public public
Creates a proxy to communicate to the specified service using the remoted interface Parameters: Returns:<T>
</code> that the service implements.</p>
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for