Package io.smallrye.config
Interface ConfigSourceInterceptorContext
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SmallRyeConfigSourceInterceptors
public interface ConfigSourceInterceptorContext extends Serializable
Exposes contextual information about the intercepted invocation ofConfigSourceInterceptor. This allows implementers to control the behavior of the invocation chain.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Iterator<String>iterateNames()Proceeds to the next interceptor in the chain.Iterator<ConfigValue>iterateValues()Deprecated, for removal: This API element is subject to removal in a future version.ConfigValueproceed(String name)Proceeds to the next interceptor in the chain.
-
-
-
Method Detail
-
proceed
ConfigValue proceed(String name)
Proceeds to the next interceptor in the chain.- Parameters:
name- the configuration name to lookup. Can be the original key.- Returns:
- a
ConfigValuewith information about the name, value, config source and ordinal, ornullif the value isn't present.
-
iterateNames
Iterator<String> iterateNames()
Proceeds to the next interceptor in the chain.- Returns:
- an Iterator of Strings with configuration names.
-
iterateValues
@Deprecated(forRemoval=true) Iterator<ConfigValue> iterateValues()
Deprecated, for removal: This API element is subject to removal in a future version.Proceeds to the next interceptor in the chain.- Returns:
- an Iterator of
ConfigValuewith information about the name, value, config source and ordinal.
-
-