Package org.springframework.vault.client
Class SimpleVaultEndpointProvider
java.lang.Object
org.springframework.vault.client.SimpleVaultEndpointProvider
- All Implemented Interfaces:
VaultEndpointProvider
VaultEndpointProvider returning a static VaultEndpoint.- Since:
- 1.1
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionProvides access toVaultEndpoint.static VaultEndpointProviderof(VaultEndpoint endpoint) Creates a newVaultEndpointProvidergivenVaultEndpoint.
-
Method Details
-
of
Creates a newVaultEndpointProvidergivenVaultEndpoint.- Parameters:
endpoint- must not be null.
-
getVaultEndpoint
Description copied from interface:VaultEndpointProviderProvides access toVaultEndpoint.- Specified by:
getVaultEndpointin interfaceVaultEndpointProvider- Returns:
- the
VaultEndpoint.
-