Jeremias Maerki wrote:

> Is it a good idea to extend a work interface from a life cycle interface like
> LogEnabled? Doesn't this break the idea of "Separation of Concerns" or
> something like that? I can't say that I understood everthing about
> Avalon, yet. Still learning... But this struck me as odd. Would someone
> be so kind as to enlighten me? Thanks a lot.


You are correct.  LogEnabled is an implementation detail, and not part of the
Role of the Component.


> 
> On 13.11.2001 19:14:22 froehlich wrote:
> 
>>froehlich    01/11/13 10:14:22
>>
>>  Modified:    apps/db/src/java/org/apache/avalon/db/functions
>>                        Function.java
>>  Log:
>>  tsts copy and paste :)
>>  
>>  Revision  Changes    Path
>>  1.2       +2 -2      
>jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/functions/Function.java
>>  
>>  Index: Function.java
>>  ===================================================================
>>  RCS file: 
>/home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/functions/Function.java,v
>>  retrieving revision 1.1
>>  retrieving revision 1.2
>>  diff -u -r1.1 -r1.2
>>  --- Function.java   2001/11/13 18:10:03     1.1
>>  +++ Function.java   2001/11/13 18:14:22     1.2
>>  @@ -15,9 +15,9 @@
>>    * Interface Function
>>    *
>>    * @author Gerhard Froehlich <a 
>href="mailto:[EMAIL PROTECTED]";>[EMAIL PROTECTED]</a>
>>  - * @version * $Revision: 1.1 $
>>  + * @version * $Revision: 1.2 $
>>    */
>>   public interface Function extends LogEnabled {
>>       void initialize(String[] columns) throws ActionException;
>>  -    void execute(Row row) throws ActionException;
>>  +    Object evaluate(Row row) throws ActionException;
>>   }
>>  
>>  
>>  
>>
>>--
>>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>>
> 
> 
> 
> Jeremias Märki
> 
> mailto:[EMAIL PROTECTED]
> 
> OUTLINE AG
> Postfach 3954 - Rhynauerstr. 15 - 6002 Luzern
> Fon +41 (0)41 317 2020 - Fax +41 (0)41 317 2029
> Internet http://www.outline.ch
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> .
> 
> 



-- 

"Those who would trade liberty for
  temporary security deserve neither"
                 - Benjamin Franklin


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

Reply via email to