Class PropertyVar
The format for this var is
Caller-scoped property sources:
Resolution consults the singleton Settings chain by default. Callers (notably the
@Value injection path) that need to inject additional, caller-scoped
PropertySources in front of the global chain can attach them to the
VarResolverSession as a session bean of type PropertySource[]:
When the session carries that bean, this var consults the array in order between the
local/global override stores (which still win —
matching the existing test-override contract) and the regular Settings sources chain. Sources earlier in the array take precedence over sources later
in the array. The contract is identical to today when no such session bean is attached.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(VarResolverSession session, String key) The interface that needs to be implemented for subclasses ofSimpleVar.Methods inherited from class org.apache.juneau.commons.svl.DefaultingVar
doResolveMethods inherited from class org.apache.juneau.commons.svl.Var
allowNested, allowRecurse, canResolve, getName, isStable
-
Field Details
-
NAME
The name of this variable.- See Also:
-
-
Constructor Details
-
PropertyVar
public PropertyVar()Constructor.
-
-
Method Details