----- Original Message -----
From: "Peter Donald" <[EMAIL PROTECTED]>
To: "Avalon-Phoenix Developers List" <[EMAIL PROTECTED]>
Sent: Sunday, August 18, 2002 3:28 PM
Subject: Re: PR9270


On Sun, 18 Aug 2002 16:12, Peter Donald wrote:
> <interceptors include-default="false">
>   <interceptor class="com.thinkdynamics.interceptors.LoggingInterceptor"/>
> </interceptors>
>
> Actually this could be a bad idea. Because what does the above mean (with
> default interceptors="false" but definining an interceptor.
>
> Maybe it is better to go with something more simple like
>
> <block
>
class="org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler"
>   name="scheduler"
>   proxy="false">
>     <provide .../>
> </block>
>
> Then when we add interceptor definitions later on we can raise an
exception if
> proxy is false but interceptors are defined ?

proxy with interceptors
-----------------------
<block

class="org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler"
  name="scheduler">
    <provide .../>
    <proxy>
      <interceptor
class="com.thinkdynamics.interceptors.LoggingInterceptor"/>
    </proxy>
</block>

disable proxy.
-----------------------
<block

class="org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler"
  name="scheduler">
    <provide .../>
    <proxy disable="true"/>
</block>

Above is my initial concept.
thought?

--
Cheers,

Peter Donald
*------------------------------------------------*
| Trying is the first step to failure.           |
|   So never try, Lisa  - Homer Jay Simpson      |
*------------------------------------------------*


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




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

Reply via email to