@Priority(value=3800) public class ExpressionConfigSourceInterceptor extends Object implements ConfigSourceInterceptor
EMPTY| Constructor and Description |
|---|
ExpressionConfigSourceInterceptor() |
ExpressionConfigSourceInterceptor(ConfigSourceInterceptorContext context) |
| Modifier and Type | Method and Description |
|---|---|
ConfigValue |
getValue(ConfigSourceInterceptorContext context,
String name)
Intercept the resolution of a configuration name and either return the corresponding
ConfigValue or a
custom ConfigValue built by the interceptor. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititerateNames, iterateValuespublic ExpressionConfigSourceInterceptor()
public ExpressionConfigSourceInterceptor(ConfigSourceInterceptorContext context)
public ConfigValue getValue(ConfigSourceInterceptorContext context, String name)
ConfigSourceInterceptorConfigValue or a
custom ConfigValue built by the interceptor. Calling
ConfigSourceInterceptorContext.proceed(String) will continue to execute the interceptor chain. The chain
can be short-circuited by returning another instance of ConfigValue.getValue in interface ConfigSourceInterceptorcontext - the interceptor context. See ConfigSourceInterceptorContextname - the configuration name being intercepted.ConfigValue with information about the name, value, config source and ordinal, or null
if the value isn't present.Copyright © 2018–2020. All rights reserved.