You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by hu...@apache.org on 2003/09/29 17:35:48 UTC
cvs commit: jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain Catalog.java
husted 2003/09/29 08:35:48
Modified: chain/src/java/org/apache/commons/chain Catalog.java
Log:
Add convenience static for storing a default catalog attribute in some context.
Revision Changes Path
1.2 +11 -4 jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Catalog.java
Index: Catalog.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/chain/src/java/org/apache/commons/chain/Catalog.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Catalog.java 11 Aug 2003 04:44:16 -0000 1.1
+++ Catalog.java 29 Sep 2003 15:35:47 -0000 1.2
@@ -80,6 +80,13 @@
/**
+ * <p>A default context attribute for storing a default catalog,
+ * provided as a convenience only.</p>
+ */
+ public final static String CATALOG_KEY = "org.apache.commons.chain.CATALOG";
+
+
+ /**
* <p>Add a new name and associated {@link Command} or {@link Chain}
* to the set of named commands known to this {@link Catalog},
* replacing any previous command for that name.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org