avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/infobuilder BlockInfoBuilder.java
Date Fri, 28 Jun 2002 05:08:09 GMT
proyal      2002/06/27 22:08:09

  Modified:    src/java/org/apache/avalon/phoenix/tools/infobuilder
                        BlockInfoBuilder.java
  Log:
  Support loading a configuration-schema from a
  blockinfo document
  
  Revision  Changes    Path
  1.18      +4 -2      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/infobuilder/BlockInfoBuilder.java
  
  Index: BlockInfoBuilder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/infobuilder/BlockInfoBuilder.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- BlockInfoBuilder.java	6 Jun 2002 02:24:52 -0000	1.17
  +++ BlockInfoBuilder.java	28 Jun 2002 05:08:09 -0000	1.18
  @@ -65,6 +65,8 @@
           configuration = info.getChild( "block" );
           final BlockDescriptor descriptor = buildBlockDescriptor( classname, configuration
);
   
  +        configuration = info.getChild( "configuration-schema", false );
  +
           if( getLogger().isDebugEnabled() )
           {
               final String message = REZ.getString( "blockinfo-created",
  @@ -74,7 +76,7 @@
               getLogger().debug( message );
           }
   
  -        return new BlockInfo( descriptor, services, management, dependencies );
  +        return new BlockInfo( descriptor, configuration, services, management, dependencies
);
       }
   
       /**
  
  
  

--
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