Interface ClientProvider<T>
- Type Parameters:
T- Client Type
- All Known Implementing Classes:
BootstrapPropertiesClientProvider
public interface ClientProvider<T>
Client Provider responsible for reading Client Properties and instantiating client services
-
Method Summary
Modifier and TypeMethodDescriptiongetClient(Properties properties) Get Client using Client PropertiesgetClientProperties(BootstrapProperties bootstrapProperties) Get Client Properties from Bootstrap Properties
-
Method Details
-
getClientProperties
Get Client Properties from Bootstrap Properties- Parameters:
bootstrapProperties- Bootstrap Properties- Returns:
- Client Properties or empty when not configured
-
getClient
Get Client using Client Properties- Parameters:
properties- Client Properties- Returns:
- Client or empty when not configured
-