You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@apache.org on 2001/11/06 04:23:05 UTC
cvs commit: jakarta-velocity/src/java/org/apache/velocity/runtime/defaults velocity.properties
geirm 01/11/05 19:23:05
Modified: src/java/org/apache/velocity/runtime RuntimeConstants.java
src/java/org/apache/velocity/runtime/defaults
velocity.properties
Log:
Added new constants for the pluggable ResourceManager and cache, and
appropriate default values
Revision Changes Path
1.31 +12 -1 jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeConstants.java
Index: RuntimeConstants.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeConstants.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- RuntimeConstants.java 2001/10/22 03:53:23 1.30
+++ RuntimeConstants.java 2001/11/06 03:23:05 1.31
@@ -62,7 +62,7 @@
* @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
* @author <a href="mailto:geirm@optonline.net">Geir Magnusson Jr.</a>
* @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
- * @version $Id: RuntimeConstants.java,v 1.30 2001/10/22 03:53:23 jon Exp $
+ * @version $Id: RuntimeConstants.java,v 1.31 2001/11/06 03:23:05 geirm Exp $
*/
public interface RuntimeConstants
{
@@ -248,6 +248,17 @@
= "directive.parse.max.depth";
+ /*
+ * ----------------------------------------------------------------------
+ * R E S O U R C E M A N A G E R C O N F I G U R A T I O N
+ * ----------------------------------------------------------------------
+ */
+
+ public static String RESOURCE_MANAGER_CLASS = "resource.manager.class";
+
+ public static String RESOURCE_MANAGER_CACHE_CLASS =
+ "resource.manager.cache.class";
+
/*
* ----------------------------------------------------------------------
* R E S O U R C E L O A D E R C O N F I G U R A T I O N
1.22 +8 -1 jakarta-velocity/src/java/org/apache/velocity/runtime/defaults/velocity.properties
Index: velocity.properties
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/defaults/velocity.properties,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- velocity.properties 2001/04/14 02:52:28 1.21
+++ velocity.properties 2001/11/06 03:23:05 1.22
@@ -131,4 +131,11 @@
runtime.interpolate.string.literals = true
-
+#----------------------------------------------------------------------------
+# RESOURCE MANAGEMENT
+#----------------------------------------------------------------------------
+# Allows alternative ResourceManager and ResourceCache implementations
+# to be plugged in.
+#----------------------------------------------------------------------------
+resource.manager.class = org.apache.velocity.runtime.resource.ResourceManagerImpl
+resource.manager.cache.class = org.apache.velocity.runtime.resource.ResourceCacheImpl
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>