org.springframework.extensions.config
Class DefaultLookupAlgorithm
java.lang.Object
org.springframework.extensions.config.DefaultLookupAlgorithm
- All Implemented Interfaces:
- ConfigLookupAlgorithm
public class DefaultLookupAlgorithm
- extends Object
- implements ConfigLookupAlgorithm
The default algorithm used to determine whether a section applies to the object being looked up
- Author:
- gavinc
Method Summary |
void |
process(ConfigSection section,
Evaluator evaluator,
Object object,
Config results)
Determines whether the given section applies to the given object, if so
the section is added to the results |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLookupAlgorithm
public DefaultLookupAlgorithm()
process
public void process(ConfigSection section,
Evaluator evaluator,
Object object,
Config results)
- Description copied from interface:
ConfigLookupAlgorithm
- Determines whether the given section applies to the given object, if so
the section is added to the results
- Specified by:
process
in interface ConfigLookupAlgorithm
- Parameters:
section
- The config section to testevaluator
- The evaluator for the section being processedobject
- The object which is the subject of the config lookupresults
- The Config object holding all the matched sections- See Also:
ConfigLookupAlgorithm.process(org.springframework.extensions.config.ConfigSection, org.springframework.extensions.config.evaluator.Evaluator, java.lang.Object, org.springframework.extensions.config.Config)
Copyright © 2009 SpringSource, Inc. All Rights Reserved.