avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/apps/simpleserver/src/java/org/apache/avalon/simpleserver SimpleBlockListener.java
Date Tue, 15 Jan 2002 10:53:34 GMT
hammant     02/01/15 02:53:34

  Modified:    apps/simpleserver/src/java/org/apache/avalon/simpleserver
                        SimpleBlockListener.java
  Log:
  undo of incorrect commit
  
  Revision  Changes    Path
  1.3       +0 -15     jakarta-avalon-cornerstone/apps/simpleserver/src/java/org/apache/avalon/simpleserver/SimpleBlockListener.java
  
  Index: SimpleBlockListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/simpleserver/src/java/org/apache/avalon/simpleserver/SimpleBlockListener.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SimpleBlockListener.java	15 Jan 2002 10:39:16 -0000	1.2
  +++ SimpleBlockListener.java	15 Jan 2002 10:53:34 -0000	1.3
  @@ -9,9 +9,6 @@
   
   import org.apache.avalon.phoenix.BlockEvent;
   import org.apache.avalon.phoenix.BlockListener;
  -import org.apache.avalon.phoenix.Block;
  -import org.apache.avalon.phoenix.metainfo.BlockInfo;
  -import org.apache.avalon.phoenix.metainfo.ServiceDescriptor;
   import org.apache.avalon.framework.configuration.Configurable;
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
  @@ -39,18 +36,6 @@
       public void blockAdded( final BlockEvent event )
       {
           System.out.println( "Added block '" + event.getName() + "'" );
  -        Block block = event.getBlock();
  -        System.out.println("Block " + block);
  -        BlockInfo bi = event.getBlockInfo();
  -        System.out.println("BlockInfo " + bi);
  -        ServiceDescriptor[] sd = bi.getServices();
  -        for (int i = 0; i < sd.length; i++) {
  -            ServiceDescriptor descriptor = sd[i];
  -            String name = descriptor.getName();
  -            System.out.println("  Descriptor " + i + " = " + descriptor);
  -            System.out.println("  Name " + i + " = " + name);
  -        }
  -
       }
   
       /**
  
  
  

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