Interface ServiceClientProvider
- All Known Implementing Classes:
DefaultServiceClientProvider
public interface ServiceClientProvider
-
Method Summary
Modifier and TypeMethodDescription<T> TgetService(Class<T> type, ServiceEndpoint serviceEndpoint) Returns the concrete feign service client
-
Method Details
-
getService
Returns the concrete feign service client- Type Parameters:
T- type of client , usually an interface with all the remote method definitions.- Parameters:
type- feign interface typeserviceEndpoint- endpoint definition- Returns:
- the feign interface implementation
-