Interface ServiceClientFactory

All Known Implementing Classes:
ServiceClientFactoryImpl

public interface ServiceClientFactory
Factory for creating ServiceClient.
  • Method Details

    • makeClient

      ServiceClient makeClient(String serviceName, ServiceLocator serviceLocator, ServiceRetryPolicy retryPolicy)
      Creates a client for a particular service.
      Parameters:
      serviceName - name of the service, which is used in log messages and exceptions.
      serviceLocator - service locator. This is not owned by the returned client, and should be closed separately when you are done with it.
      retryPolicy - retry policy