Re: [phoenix] core and optional services

Paul Hammant <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.apps.devel,gmane.comp.jakarta.avalon.devel
Message-ID <[email protected]>
Jim,

> i have a phoenix application with consists of a core set of services and one
> or more optional services depending on the target platform. What is the best
> approach to configure the option services since I cannot add them to the
> assembly.xml file?

Choices :

1) A fake version of the same comp (for the other OS) and a replacement variable under Ant control
(it means two SAR files).

2) A delegating comp to the same service interfaces that, on instantiation, queries sys.props and
instantiates the appropriate real comp. It then delegates all invocations to it (no need for
dynamic proxies).

Maybe there are more.. Peter?

- Paul

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.