FabricServiceProxyFactory Class
- java.
lang. Object - ServiceProxyFactory
- microsoft.
servicefabric. services. remoting. client. FabricServiceProxyFactory
- microsoft.
public class FabricServiceProxyFactory implements ServiceProxyFactory
Specifies the factory that creates proxies for remote communication to the specified service.
Constructor Summary
Constructor | Description |
---|---|
FabricServiceProxyFactory() |
Instantiates the ServiceProxyFactory with the specified remoting factory and retrysettings. |
FabricServiceProxyFactory(Function<ServiceRemotingCallbackClient, ServiceRemotingClientFactory> createServiceRemotingClientFactory, OperationRetrySettings retrySettings) |
Instantiates the ServiceProxyFactory with the specified remoting factory and retrysettings. |
Method Summary
Modifier and Type | Method and Description |
---|---|
<T extends Service> T |
createServiceProxy(Class<T> serviceInterfaceType, URI serviceUri)
Creates a proxy to communicate to the specified service using the remoted interface |
<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 |
Constructor Details
FabricServiceProxyFactory
public FabricServiceProxyFactory()
Instantiates the ServiceProxyFactory with the specified remoting factory and retrysettings.
FabricServiceProxyFactory
public FabricServiceProxyFactory(Function
Instantiates the ServiceProxyFactory with the specified remoting factory and retrysettings.
Parameters:
Method Details
createServiceProxy
public
Creates a proxy to communicate to the specified service using the remoted interface Overrides: Parameters: Returns:<T>
</code> that the service implements.</p>
createServiceProxy
public
Creates a proxy to communicate to the specified service using the remoted interface Overrides: Parameters: Returns:<T>
</code> that the service implements.</p>
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour