|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.config.ConfigLookupContext
public class ConfigLookupContext
Object to hold the context for a config lookup.
Constructor Summary | |
---|---|
ConfigLookupContext()
Default constructor |
|
ConfigLookupContext(List<String> areas)
Constructs a lookup context for the list of the given areas |
|
ConfigLookupContext(String area)
Constructs a lookup context for the given area |
Method Summary | |
---|---|
void |
addArea(String area)
|
ConfigLookupAlgorithm |
getAlgorithm()
|
List<String> |
getAreas()
|
boolean |
includeGlobalSection()
|
void |
setAlgorithm(ConfigLookupAlgorithm algorithm)
|
void |
setAreas(List<String> areas)
|
void |
setIncludeGlobalSection(boolean includeGlobalSection)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigLookupContext()
public ConfigLookupContext(String area)
area
- The area to search inpublic ConfigLookupContext(List<String> areas)
areas
- The list of areas to search inMethod Detail |
---|
public ConfigLookupAlgorithm getAlgorithm()
public void setAlgorithm(ConfigLookupAlgorithm algorithm)
algorithm
- Sets the lookup algorithm to usepublic List<String> getAreas()
public void setAreas(List<String> areas)
areas
- Sets the lists of areas to search withinpublic void addArea(String area)
area
- Adds the area to the list of areas to be searchedpublic boolean includeGlobalSection()
public void setIncludeGlobalSection(boolean includeGlobalSection)
includeGlobalSection
- Sets whether the global section will be
included in the results
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |