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/06 04:57:05 UTC

cvs commit: avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model TypeRepository.java

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