Package org.apache.juneau.svl
Class DefaultingVar
java.lang.Object
org.apache.juneau.svl.Var
org.apache.juneau.svl.SimpleVar
org.apache.juneau.svl.DefaultingVar
- Direct Known Subclasses:
- ArgsVar,- ConfigVar,- EnvVariablesVar,- FileVar,- ManifestFileVar,- MapVar,- ServletInitParamVar
Interface for the resolution of vars with a default value if the resolve()  method returns null .
 
 For example, to resolve the system property 
Subclasses must implement the following method:
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoResolve(VarResolverSession session, String s) The method called fromVarResolver.Methods inherited from class org.apache.juneau.svl.VarallowNested, allowRecurse, canResolve, getName, resolve
- 
Constructor Details- 
DefaultingVarConstructor.- Parameters:
- name- The name of this variable.
 
 
- 
- 
Method Details- 
doResolveDescription copied from class:VarThe method called fromVarResolver.Can be overridden to intercept the request and do special handling. 
 Default implementation simply calls resolve(String).
 
-