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/merlin/composition-spi/src/java/org/apache/avalon/composition/model TypeRepository.java
Date Sun, 06 Jul 2003 02:57:05 GMT
mcconnell    2003/07/05 19:57:05

  Modified:    merlin/composition-spi/src/java/org/apache/avalon/composition/model
                        TypeRepository.java
  Log:
  Add support for retrieval of all types.
  
  Revision  Changes    Path
  1.3       +15 -1     avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model/TypeRepository.java
  
  Index: TypeRepository.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model/TypeRepository.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TypeRepository.java	5 Jul 2003 07:56:45 -0000	1.2
  +++ TypeRepository.java	6 Jul 2003 02:57:05 -0000	1.3
  @@ -64,6 +64,20 @@
   public interface TypeRepository
   {
       /**
  +     * Return all availble types.
  +     * @return the array of types
  +     */
  +    Type[] getTypes();
  +
  +    /**
  +     * Return all the types available within the repository.
  +     * @param policy if TRUE, return all available types, if FALSE
  +     *   return only the locally established types.
  +     * @return the array of types
  +     */
  +    Type[] getTypes( boolean policy );
  +
  +    /**
        * Locate a {@link Type} instances associated with the
        * supplied implementation classname.
        * @param clazz the component type implementation class.
  
  
  

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


Mime
View raw message