You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2003/07/14 06:37:58 UTC
cvs commit: avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model DeploymentContext.java
mcconnell 2003/07/13 21:37:58
Modified: merlin/composition-spi/src/java/org/apache/avalon/composition/model
DeploymentContext.java
Log:
Improve interface to strictly follow String based keys and aliases.
Revision Changes Path
1.4 +5 -5 avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model/DeploymentContext.java
Index: DeploymentContext.java
===================================================================
RCS file: /home/cvs/avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model/DeploymentContext.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DeploymentContext.java 11 Jul 2003 11:06:31 -0000 1.3
+++ DeploymentContext.java 14 Jul 2003 04:37:58 -0000 1.4
@@ -173,14 +173,14 @@
* @param key the context entry key
* @param model the entry model
*/
- public void register( String key, ContextEntryModel model );
+ public void register( EntryModel model );
/**
* Get a context entry from the deployment context.
- * @param key the entry lookup key
+ * @param alias the entry lookup key
* @return value the corresponding value
- * @exception ContextException if the key is unknown
+ * @exception ContextException if a key corresponding to the supplied alias is unknown
*/
- Object resolve( String key ) throws ContextException;
+ Object resolve( String alias ) throws ContextException;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org