avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component ExcaliburComponentSelector.java
Date Thu, 06 Nov 2003 13:13:55 GMT
cziegeler    2003/11/06 05:13:55

  Modified:    component/src/java/org/apache/avalon/excalibur/component
                        ExcaliburComponentSelector.java
  Log:
  Adding canRelease method
  
  Revision  Changes    Path
  1.25      +8 -1      avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/ExcaliburComponentSelector.java
  
  Index: ExcaliburComponentSelector.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/ExcaliburComponentSelector.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- ExcaliburComponentSelector.java	7 Jul 2003 16:27:54 -0000	1.24
  +++ ExcaliburComponentSelector.java	6 Nov 2003 13:13:55 -0000	1.25
  @@ -346,6 +346,13 @@
           }
       }
   
  +    /**
  +     * Is this component looked up using this selector?
  +     */
  +    protected boolean canRelease(final Component component) {
  +          return m_componentMapping.containsKey( component.toString() );
  +    }
  +
       /*---------------------------------------------------------------
        * Composable Methods
        *-------------------------------------------------------------*/
  
  
  

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


Mime
View raw message