leosutic    2002/12/09 09:10:00

  Modified:    src/java/org/apache/avalon/phoenix/components/util
                        ComponentInfoConverter.java
  Log:
  Some fixes due to changes in the info package. (Basically unclogging the build.)
  
  Revision  Changes    Path
  1.8       +4 -3      
jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/util/ComponentInfoConverter.java
  
  Index: ComponentInfoConverter.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/util/ComponentInfoConverter.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ComponentInfoConverter.java       16 Nov 2002 14:47:25 -0000      1.7
  +++ ComponentInfoConverter.java       9 Dec 2002 17:09:59 -0000       1.8
  @@ -101,7 +101,7 @@
           final org.apache.avalon.framework.info.ServiceDescriptor service )
       {
           final Version version = toVersion( service );
  -        final String classname = service.getImplementationKey();
  +        final String classname = service.getType();
           return new ServiceDescriptor( classname, version );
       }
   
  @@ -148,7 +148,8 @@
           final ComponentDescriptor descriptor = component.getDescriptor();
           final Version version = toVersion( descriptor );
   
  -        String schemaType = component.getSchema().getType();
  +        //FIXME: Assuming that getSchema is replaced with getConfigurationSchema. 
/LS
  +        String schemaType = component.getConfigurationSchema().getType();
           if( "".equals( schemaType ) )
           {
               schemaType = null;
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to