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:02 UTC
cvs commit: avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model ContextModel.java
mcconnell 2003/07/13 21:37:02
Modified: merlin/composition-spi/src/java/org/apache/avalon/composition/model
ContextModel.java
Log:
Updated interface to return the final context object.
Revision Changes Path
1.2 +6 -15 avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model/ContextModel.java
Index: ContextModel.java
===================================================================
RCS file: /home/cvs/avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model/ContextModel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ContextModel.java 8 Jul 2003 13:45:10 -0000 1.1
+++ ContextModel.java 14 Jul 2003 04:37:02 -0000 1.2
@@ -50,8 +50,7 @@
package org.apache.avalon.composition.model;
-import java.util.Map;
-
+import org.apache.avalon.framework.context.Context;
/**
* <p>Specification of a context model from which a
@@ -64,25 +63,17 @@
{
/**
* Return the class representing the contextualization
- * stage interface.
+ * stage interface.
*
* @return the contextualization interface class
*/
Class getStrategyClass();
-
- /**
- * Return the class representing the context implementation.
- *
- * @return the context implementation class
- */
- Class getContextClass();
-
/**
- * Return the context map established for the component.
+ * Return the context object for the component.
*
- * @return the context map
+ * @return the context object
*/
- Map getContextMap();
+ public Context getContext();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org