avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/lifecycle/context Contextualization.java
Date Thu, 27 Feb 2003 23:14:20 GMT
mcconnell    2003/02/27 15:14:20

  Modified:    assembly/src/java/org/apache/avalon/assembly/lifecycle/context
                        Contextualization.java
  Log:
  Added ContextDirective to contextualizer.
  
  Revision  Changes    Path
  1.3       +7 -2      avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/lifecycle/context/Contextualization.java
  
  Index: Contextualization.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/lifecycle/context/Contextualization.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Contextualization.java	7 Feb 2003 15:39:01 -0000	1.2
  +++ Contextualization.java	27 Feb 2003 23:14:20 -0000	1.3
  @@ -55,9 +55,12 @@
   
   package org.apache.avalon.assembly.lifecycle.context;
   
  +import java.util.Map;
  +
   import org.apache.avalon.assembly.appliance.Appliance;
   import org.apache.avalon.framework.context.Context;
   import org.apache.avalon.framework.context.ContextException;
  +import org.apache.avalon.meta.model.ContextDirective;
   
   /**
    * Definition of an extension handler that handles the Contextualize
  @@ -73,10 +76,12 @@
   
       /**
        * Handle the contextualization stage of a component lifecycle.
  +     *
  +     * @param directive the context directive
        * @param object the object to contextualize
  -     * @param context the containement context
  +     * @param map a map of context entries
        * @exception ContextException if a contextualization error occurs
        */
  -    void contextualize( Object object, Context context ) 
  +    void contextualize( ContextDirective directive, Object object, Map map ) 
         throws ContextException;
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message