avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexis Agahi <sourcefo...@prefetch.com>
Subject Re: Avalon Meta & Interceptor
Date Tue, 03 Aug 2004 10:52:47 GMT
Niclas Hedhman wrote:

> On Tuesday 03 August 2004 14:22, Alexis Agahi wrote:
> 
> 
>>I'm not sure this is should be required. It helps to understand when
>>reading, but all in all, method's parameter are only distingushed by
>>position.
> 
> 
> Now it strikes me 'parameter' is something else in your head.
> 
> To me, it was a 'signal' from the component to an explicit interceptor of some 
> kind. Meaning that the interceptor would be initialized with those parameters 
> (somehow), for proper operation.
> 
> What were you thinking about?  Where does "100" go ?


Ok, sorry, I was thinking of having a
setParameter( String[] params )

but I think I understand you approach.
Are you planning using a
Parameterizable implem?

Something like

public class TxInterceptor
implements Interceptor, Parameterizable
{

   public void interceptBefore(...){}
   public void interceptAfter(...){}

  public void parameterize(Parameters parameters)
                   throws ParameterException
  {
     //...
  }
}


Having parameters filled with meta param?



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


Mime
View raw message