|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.free2be.dimensions.config.DimensionsConfig
public class DimensionsConfig
This class contains the configuration of Dimensions under a specific webapp. It contains the Decider and the IntheritanceResolver and it is used during the parsing of the configuration file.
| Constructor Summary | |
|---|---|
DimensionsConfig(javax.servlet.ServletContext context)
Creates a new instance of DimensionsConfigurator |
|
| Method Summary | |
|---|---|
void |
addSuitableDecision(Decision decision)
Adds a suitable decision, so that it can be used by the decider. |
Decider |
getDecider()
Returns the created decider. |
java.util.Map |
getDecisionMap()
Returns the decision map, i.e. a map where the keys are Decision's and the values are XmlDefinitionsSet's. |
InheritanceResolver |
getResolver()
Returns the resolver. |
void |
loadAllXmlDefinitions()
Loads all XmlDefinitionsSet's using the InheritanceResolver. |
protected org.apache.struts.tiles.xmlDefinition.XmlDefinitionsSet |
loadXmlDefinitions(Decision decision)
Loads one instance of XmlDefinitionsSet, with the given Decision. |
void |
setDecider(Decider decider)
Sets the decider to use. |
void |
setResolver(InheritanceResolver resolver)
Setter for property resolver. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DimensionsConfig(javax.servlet.ServletContext context)
context - The servlet context.| Method Detail |
|---|
public Decider getDecider()
public void setDecider(Decider decider)
decider - The decider.public InheritanceResolver getResolver()
public void setResolver(InheritanceResolver resolver)
resolver - The resolver.public java.util.Map getDecisionMap()
public void addSuitableDecision(Decision decision)
decision - The suitable decision to add.
public void loadAllXmlDefinitions()
throws java.lang.Exception
java.lang.Exception - If something goes wrong.
protected org.apache.struts.tiles.xmlDefinition.XmlDefinitionsSet loadXmlDefinitions(Decision decision)
throws java.lang.Exception
decision - The decision to use to load the XmlDefinitionsSet.
java.lang.Exception - If something goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||