avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Ivanov" <my...@surfeu.fi>
Subject Re: Using Service / Component Selector in Phoenix
Date Tue, 11 Jun 2002 13:17:23 GMT
Thanks Steve,
I had a hazy recollection that I ve seen this somewhere. Now I see it!
Andrei

----- Original Message -----
From: "Stephen McConnell" <mcconnell@osm.net>
To: "Avalon-Phoenix Developers List" <avalon-phoenix-dev@jakarta.apache.org>
Sent: Tuesday, June 11, 2002 4:03 PM
Subject: Re: Using Service / Component Selector in Phoenix


>
>
> The document
> http://jakarta.apache.org/avalon/phoenix/guide-example-configuration.html
> contains a description of how to handle this inside Phoinix.
>
> Cheers, Steve.
>
>
> Andrei Ivanov wrote:
>
> >Hi,
> >I came across with simple problem (I think it is simple for experienced
> >Avalon developers) with my Phoenix-based application.
> >
> >The problem is as follows:
> >I have phoenix service which contract is defined in interface
> >
> >A. ServiceInterface
> >
> >I have two different block which offer service A (in other words
different
> >implementation for the same service):
> >
> >Blocks
> >B. offers A
> >C. offers A
> >
> >B and C should be configured and initialized differently as well as they
> >will depend on different services.
> >
> >I would like to be able to specify which block will be used (B or C) to
> >provide service A changing only configuration (config.xml) file.
> >Can anyone give me example how to achieve that and what is the standard
> >practice for Phoenix-based application for this?
> >
> >Regards,
> >Andrei



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