avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/infobuilder BlockInfoBuilder.java
Date Wed, 15 May 2002 11:32:03 GMT
donaldp     02/05/15 04:32:02

  Modified:    src/java/org/apache/avalon/phoenix/tools/infobuilder
                        BlockInfoBuilder.java
  Log:
  Stop allowing blockinfo elements named "management" to expose
  services as MBeans
  Was only Non-deprecated between 2002/01/12 and 2002/01/25
  
  The correct element name is <management-access-points/>
  
  Revision  Changes    Path
  1.15      +2 -12     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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- BlockInfoBuilder.java	12 May 2002 02:07:30 -0000	1.14
  +++ BlockInfoBuilder.java	15 May 2002 11:32:02 -0000	1.15
  @@ -25,7 +25,7 @@
    * is specified in the BlockInfo specification.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.14 $ $Date: 2002/05/12 02:07:30 $
  + * @version $Revision: 1.15 $ $Date: 2002/05/15 11:32:02 $
    */
   public final class BlockInfoBuilder
       extends AbstractLogEnabled
  @@ -56,17 +56,7 @@
           configuration = info.getChild( "services" );
           final ServiceDescriptor[] services = buildServices( configuration );
   
  -        configuration = info.getChild( "management" );
  -        if( 0 != configuration.getChildren().length )
  -        {
  -            final String message = REZ.getString( "deprecated-management-declaration",
classname );
  -            System.err.println( message );
  -            getLogger().warn( message );
  -        }
  -        else
  -        {
  -            configuration = info.getChild( "management-access-points" );
  -        }
  +        configuration = info.getChild( "management-access-points" );
           final ServiceDescriptor[] management = buildServices( configuration );
   
           configuration = info.getChild( "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