org.springframework.extensions.config
Class DefaultLookupAlgorithm

java.lang.Object
  extended by 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

Constructor Summary
DefaultLookupAlgorithm()
           
 
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
 

Constructor Detail

DefaultLookupAlgorithm

public DefaultLookupAlgorithm()
Method Detail

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 test
evaluator - The evaluator for the section being processed
object - The object which is the subject of the config lookup
results - 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.