|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfw.config.Configuracio
public class Configuracio
Mètode que gestiona el mapeig de les accions, actionForms i vistes de la petició. Implementa el patró Singleton, ja que només s'ha de instanciar una vegada i proporcionar un punt d'accés global a la configuració.
Method Summary | |
---|---|
Action |
getAction(java.lang.String nom_accio)
Retorna l'Action del hashmap de Actions |
ActionForm |
getActionForm(java.lang.String nom_ActionForm)
Mètode que retorna un ActionForm (Formulari) |
static Configuracio |
getConfiguracio()
Mètode que retorna l'objecte Configuracio, si no existeix es crea un objecte nou. |
void |
parserTOMIR()
Mètode que parsea els valors de Configuracio (Actions, Formularis i Jsp) Utilitzant DOM, llegeix el fitxer de configuració (tomir-config.xml) i va introduint els valors a les taules hash corresponents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Configuracio getConfiguracio()
public Action getAction(java.lang.String nom_accio)
nom_accio
-
public ActionForm getActionForm(java.lang.String nom_ActionForm)
nom_ActionForm
-
public void parserTOMIR()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |