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-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/kernel SimpleServiceKernel.java
Date Thu, 27 Jun 2002 03:50:47 GMT
donaldp     2002/06/26 20:50:47

  Modified:    containerkit/src/java/org/apache/excalibur/containerkit/kernel
                        SimpleServiceKernel.java
  Log:
  Delegate directly to InfoBuilder to get Info for class
  
  Revision  Changes    Path
  1.2       +2 -7      jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/kernel/SimpleServiceKernel.java
  
  Index: SimpleServiceKernel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/kernel/SimpleServiceKernel.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleServiceKernel.java	25 Jun 2002 07:43:24 -0000	1.1
  +++ SimpleServiceKernel.java	27 Jun 2002 03:50:47 -0000	1.2
  @@ -7,7 +7,6 @@
    */
   package org.apache.excalibur.containerkit.kernel;
   
  -import java.io.InputStream;
   import java.util.ArrayList;
   import java.util.HashMap;
   import org.apache.avalon.framework.configuration.Configurable;
  @@ -115,11 +114,7 @@
           throws Exception
       {
           final Class clazz = Class.forName( impl );
  -        final String xinfo = "/" + clazz.getName().replace( '.', '/' ) + ".xinfo";
  -        System.out.println( "xinfo = " + xinfo );
  -        final InputStream input = clazz.getResourceAsStream( xinfo );
  -        System.out.println( "input = " + input );
  -        return m_infoBuilder.build( impl, input );
  +        return m_infoBuilder.build( clazz );
       }
   
       protected ResourceProvider prepareResourceProvider()
  
  
  

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