[cvs]
expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/misc
ConfigContext.java ConfigJdbc.java ConfigJndi.java
JCorporate Ltd
jcorp at jcorp2.servlets.net
Fri Sep 17 17:05:08 PDT 2004
Update of /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/misc
In directory jcorp2.servlets.net:/tmp/cvs-serv12268
Modified Files:
ConfigContext.java ConfigJdbc.java ConfigJndi.java
Log Message:
Yves Henri AMAIZO's contributions.
Commited by Raul Davidovich on 20040918
Index: ConfigJndi.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/misc/ConfigJndi.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
Index: ConfigContext.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/misc/ConfigContext.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** ConfigContext.java 8 May 2003 05:53:59 -0000 1.8
--- ConfigContext.java 18 Sep 2004 00:05:06 -0000 1.9
***************
*** 84,87 ****
--- 84,88 ----
private String name = null;
private String hasSetupTables = "y";
+ private String hasSetupValues = "n";
/**
***************
*** 179,182 ****
--- 180,188 ----
private String useEmailAsLogin = "n";
+ /**
+ * Context to use for accessing cache values for this context.
+ */
+ private String setupContext = null;
+
public ConfigContext() {
}
***************
*** 387,389 ****
--- 393,415 ----
return StringUtil.toBoolean(hasSetupTables);
}
+
+ public void setHasSetupValues(String newHasSetupValue) {
+ StringUtil.assertBoolean(newHasSetupValue,
+ "You must specify a boolean value");
+ hasSetupValues = newHasSetupValue;
+ }
+
+ public boolean hasSetupValues() {
+ return StringUtil.toBoolean(hasSetupValues);
+ }
+
+ public String getSetupContext() {
+ return setupContext;
+ }
+
+ public void setSetupContext(String newSetupContextName) {
+ StringUtil.assertNotBlank(newSetupContextName, "You must specify a setup context name");
+ setupContext = newSetupContextName;
+ }
+
}
Index: ConfigJdbc.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/misc/ConfigJdbc.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** ConfigJdbc.java 25 Jul 2003 10:58:42 -0000 1.17
--- ConfigJdbc.java 18 Sep 2004 00:05:06 -0000 1.18
***************
*** 108,110 ****
! }
\ No newline at end of file
--- 108,110 ----
! }
More information about the cvs
mailing list