avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eung-ju Park" <co...@apache.org>
Subject Re: PR9270
Date Sun, 18 Aug 2002 06:34:01 GMT
----- Original Message -----
From: "Peter Donald" <peter@apache.org>
To: "Avalon-Phoenix Developers List" <avalon-phoenix-dev@jakarta.apache.org>
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:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:avalon-phoenix-dev-help@jakarta.apache.org>




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


Mime
View raw message