Package io.smallrye.config
Class SecretKeysConfigSourceInterceptor
java.lang.Object
io.smallrye.config.SecretKeysConfigSourceInterceptor
- All Implemented Interfaces:
ConfigSourceInterceptor,Serializable
@Priority(3100)
public class SecretKeysConfigSourceInterceptor
extends Object
implements ConfigSourceInterceptor
- See Also:
-
Field Summary
Fields inherited from interface io.smallrye.config.ConfigSourceInterceptor
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue(ConfigSourceInterceptorContext context, String name) Intercept the resolution of a configuration name and either return the correspondingConfigValueor a customConfigValuebuilt by the interceptor.Intercept the resolution of the configuration names.
-
Constructor Details
-
SecretKeysConfigSourceInterceptor
-
-
Method Details
-
getValue
Description copied from interface:ConfigSourceInterceptorIntercept the resolution of a configuration name and either return the correspondingConfigValueor a customConfigValuebuilt by the interceptor. CallingConfigSourceInterceptorContext.proceed(String)will continue to execute the interceptor chain. The chain can be short-circuited by returning another instance ofConfigValue.- Specified by:
getValuein interfaceConfigSourceInterceptor- Parameters:
context- the interceptor context. SeeConfigSourceInterceptorContextname- the configuration name being intercepted.- Returns:
- a
ConfigValuewith information about the name, value, config source and ordinal, ornullif the value isn't present.
-
iterateNames
Description copied from interface:ConfigSourceInterceptorIntercept the resolution of the configuration names. The Iterator names may be a subset of the total names retrieved from all the registered ConfigSources. CallingConfigSourceInterceptorContext.iterateNames()will continue to execute the interceptor chain. The chain can be short-circuited by returning another instance of the Iterator.- Specified by:
iterateNamesin interfaceConfigSourceInterceptor- Parameters:
context- the interceptor context. SeeConfigSourceInterceptorContext- Returns:
- an Iterator of Strings with configuration names.
-