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 VaultEndpointProvider
of
(VaultEndpoint endpoint) Creates a newVaultEndpointProvider
givenVaultEndpoint
.
-
Method Details
-
of
Creates a newVaultEndpointProvider
givenVaultEndpoint
.- Parameters:
endpoint
- must not be null.
-
getVaultEndpoint
Description copied from interface:VaultEndpointProvider
Provides access toVaultEndpoint
.- Specified by:
getVaultEndpoint
in interfaceVaultEndpointProvider
- Returns:
- the
VaultEndpoint
.
-