Package io.smallrye.config
Class SecretKeysHandlerFactory.LazySecretKeysHandler
java.lang.Object
io.smallrye.config.SecretKeysHandlerFactory.LazySecretKeysHandler
- All Implemented Interfaces:
SecretKeysHandler
- Enclosing interface:
SecretKeysHandlerFactory
public static class SecretKeysHandlerFactory.LazySecretKeysHandler
extends Object
implements SecretKeysHandler
Defers the initialization of a
SecretKeysHandlerFactory to only when a value requires decoding. This
allows to initialize a SecretKeysHandler with configuration coming from sources provided by a
ConfigSourceFactory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDecodes the secret configuration value.get(ConfigSourceContext configSourceContext) getName()The name ofSecretKeysHandler.
-
Constructor Details
-
LazySecretKeysHandler
-
-
Method Details
-
get
-
decode
Description copied from interface:SecretKeysHandlerDecodes the secret configuration value.- Specified by:
decodein interfaceSecretKeysHandler- Parameters:
secret- the value to decode.- Returns:
- the secret decoded.
-
getName
Description copied from interface:SecretKeysHandlerThe name ofSecretKeysHandler.- Specified by:
getNamein interfaceSecretKeysHandler- Returns:
- the name of the
SecretKeysHandler.
-