avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen McConnell <mcconn...@apache.org>
Subject Re: PR9270
Date Sun, 18 Aug 2002 07:10:46 GMT

Only works if the assembler has implementation knowlege of the component.

This means that a componet written without knowlege of a particular 
container will not run inside Phoenix.

Steve.


Eung-ju Park wrote:

>----- 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>
>
>  
>

-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:mcconnell@osm.net
http://www.osm.net




--
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