avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: avalon-excalibur/fortress/src/tools/org/apache/avalon/fortress/tools ComponentMetaInfoCollector.java
Date Mon, 07 Apr 2003 16:47:04 GMT
bloritsch    2003/04/07 09:47:04

  Modified:    fortress/src/tools/org/apache/avalon/fortress/tools
                        ComponentMetaInfoCollector.java
  Log:
  Add support for the "@avalon.service" tag
  
  Revision  Changes    Path
  1.5       +8 -0      avalon-excalibur/fortress/src/tools/org/apache/avalon/fortress/tools/ComponentMetaInfoCollector.java
  
  Index: ComponentMetaInfoCollector.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/fortress/src/tools/org/apache/avalon/fortress/tools/ComponentMetaInfoCollector.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ComponentMetaInfoCollector.java	25 Mar 2003 02:00:54 -0000	1.4
  +++ ComponentMetaInfoCollector.java	7 Apr 2003 16:47:04 -0000	1.5
  @@ -185,6 +185,14 @@
               {
                   m_services.add(javaClass.getFullyQualifiedName());
               }
  +            else if ( (tag = javaClass.getTagByName( "avalon.service" )) != null )
  +            {
  +                String className = tag.getValue();
  +                if ( null != className && className.length() > 0 )
  +                {
  +                    m_services.add( className );
  +                }
  +            }
               else
               {
                   tag = javaClass.getTagByName( "avalon.component" );
  
  
  

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


Mime
View raw message