You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mi...@apache.org on 2003/01/27 19:17:33 UTC

cvs commit: jakarta-avalon-excalibur/converter/src/java/org/apache/excalibur/converter/lib SimpleMasterConverter.java

mirceatoma    2003/01/27 10:17:33

  Modified:    converter/src/java/org/apache/excalibur/converter/lib
                        SimpleMasterConverter.java
  Log:
  Add Component (deprecated) interface in order to work with older containers (ex. ECM).
  
  Revision  Changes    Path
  1.5       +3 -2      jakarta-avalon-excalibur/converter/src/java/org/apache/excalibur/converter/lib/SimpleMasterConverter.java
  
  Index: SimpleMasterConverter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/converter/src/java/org/apache/excalibur/converter/lib/SimpleMasterConverter.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SimpleMasterConverter.java	16 Jul 2002 05:31:21 -0000	1.4
  +++ SimpleMasterConverter.java	27 Jan 2003 18:17:32 -0000	1.5
  @@ -8,6 +8,7 @@
   package org.apache.excalibur.converter.lib;
   
   import org.apache.excalibur.converter.AbstractMasterConverter;
  +import org.apache.avalon.framework.component.Component;
   import java.net.URL;
   import java.util.Date;
   import java.math.BigDecimal;
  @@ -23,7 +24,7 @@
    * @version $Revision$ $Date$
    */
   public class SimpleMasterConverter
  -    extends AbstractMasterConverter
  +    extends AbstractMasterConverter implements Component
   {
       /**
        * Construct the MasterConverter and register
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-avalon-excalibur/converter/src/java/org/apache/excalibur/converter/lib SimpleMasterConverter.java

Posted by Peter Donald <pe...@realityforge.org>.
Hi,

On Tue, 28 Jan 2003 05:17, mirceatoma@apache.org wrote:
> mirceatoma    2003/01/27 10:17:33
>
>   Modified:    converter/src/java/org/apache/excalibur/converter/lib
>                         SimpleMasterConverter.java
>   Log:
>   Add Component (deprecated) interface in order to work with older
> containers (ex. ECM).

This broke my code. I use converter in context that does not have avalon 
present in classpath. 

Also the current ECM does not need the component interface. If you really need 
the Component interface then I would prefer that you created a class ala

public class AvalonMasterConverter 
  extends SimpleMasterConverter 
  implements Component 
{}


-- 
Cheers,

Peter Donald
*------------------------------------------------------*
| "The whole problem with the world is that fools and  |
| fanatics are always so certain of themselves, but    |
| wiser people so full of doubts." - Bertrand Russell  |
*------------------------------------------------------*


---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org