mcconnell    2003/02/27 14:55:21

  Modified:    assembly/src/java/org/apache/avalon/assembly/appliance
                        Appliance.java
  Log:
  Generalizedthe interface so that contextualization phase handlers are not restricted 
to Avalon 4 Context.
  
  Revision  Changes    Path
  1.26      +19 -4     
avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/appliance/Appliance.java
  
  Index: Appliance.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/appliance/Appliance.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- Appliance.java    7 Feb 2003 15:38:57 -0000       1.25
  +++ Appliance.java    27 Feb 2003 22:55:21 -0000      1.26
  @@ -66,6 +66,7 @@
   import org.apache.avalon.meta.info.DependencyDescriptor;
   import org.apache.avalon.meta.info.StageDescriptor;
   import org.apache.avalon.meta.model.LoggingDirective;
  +import org.apache.avalon.meta.model.ContextDirective;
   import org.apache.avalon.meta.info.Type;
   
   /**
  @@ -178,12 +179,26 @@
        */
       Configuration getConfiguration();
   
  +    /**
  +     * Return the context directive for the appliance.
  +     *
  +     * @return the context directive
  +     */
  +    ContextDirective getContextDirective();
  +
      /**
  -    * Get the component context.
  +    * Get the component context map.
       *
  -    * @return the component context
  +    * @return the component context map
       */
  -    Context getContext();
  +    Map getContextMap();
  +
  +    /**
  +     * Returns a map of appliance custom features.
  +     *
  +     * @return the feature map
  +     */
  +    Map getFeatures();
   
       /**
        * Return the context provider.  This is a component that 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to