Package io.smallrye.config
Interface ConfigSourceInterceptorContext
- All Superinterfaces:
Serializable
Exposes contextual information about the intercepted invocation of
ConfigSourceInterceptor. This allows
implementers to control the behavior of the invocation chain.-
Method Summary
Modifier and TypeMethodDescriptionProceeds to the next interceptor in the chain.Re-calls the first interceptor in the chain.
-
Method Details
-
proceed
Proceeds to the next interceptor in the chain.- Parameters:
name- the configuration name to look up (can be the original key)- Returns:
- a
ConfigValuewith information about the name, value, config source and ordinal, ornullif the value isn't present.
-
restart
Re-calls the first interceptor in the chain. If the original name is given, then it is possible to cause a recursive loop, so care must be taken. This method is intended to be used by relocating and other compatibility-related interceptors.- Parameters:
name- the configuration name to look up (can be the original key)- Returns:
- a
ConfigValuewith information about the name, value, config source and ordinal, ornullif the value isn't present.
-
iterateNames
- Returns:
- an iterator over the configuration names known to this interceptor.
-