avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Re: Avalon Meta & Interceptor
Date Tue, 03 Aug 2004 00:49:35 GMT
On Tuesday 03 August 2004 06:00, Alexis Agahi wrote:
> /**
>  * @avalon.interceptor.type=org.tx.TxManagerComponent
>  * @avalon.interceptor.parameter=TRANSACTION_REQUIRED
>  * @avalon.interceptor.parameter=100

Negative :o)
Since it wouldn't be possible to have multiple interceptors.

First step in better direction;

* @avalon.interceptor type=org.tx.TxManagerComponent
*                     parameter=TRANSACTION_REQUIRED
*                     parameter=100

The parser will be able to make the proper grouping, compare with many other 
tags, that has multiple attributes.


But then, how are 'parameters' distinguished by the component, really?

Maybe,
* @avalon.interceptor type=org.tx.TxManagerComponent
*                     parameter=TRANSACTION_REQUIRED,true
*                     parameter=MaxPoolSize,100

I am not totally sure, but seems like a reasonable solution.


Cheers
Niclas

-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


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


Mime
View raw message