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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla