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/appliance Appliance.java
Date Thu, 19 Dec 2002 10:35:13 GMT
mcconnell    2002/12/19 02:35:13

  Modified:    assembly/src/java/org/apache/avalon/assembly/appliance
                        Appliance.java
  Log:
  added set and get operations for access to context provider.
  
  Revision  Changes    Path
  1.9       +16 -2     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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Appliance.java	17 Dec 2002 09:55:23 -0000	1.8
  +++ Appliance.java	19 Dec 2002 10:35:13 -0000	1.9
  @@ -137,10 +137,24 @@
       Appliance[] getServiceProviders();
   
       /**
  +     * Return the context provider.
  +     *
  +     * @return the appliance mapped as provider of the context
  +     */
  +    Appliance getContextProvider();
  +
  +    /**
  +     * Set the context provider.
  +     *
  +     * @param applaince the appliance to be mapped as provider of the context
  +     */
  +    void setContextProvider( Appliance appliance );
  +
  +    /**
        * Return the dependency associations for component type with specified role.
        *
        * @param role the dependency role name
  -     * @return the dependency metadata for component with specified role.
  +     * @return the appliance mapped as a provider of the role
        */
       Appliance getServiceProvider( final String role );
   
  
  
  

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


Mime
View raw message