james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer <nor...@apache.org>
Subject Re: First Steps Towards An Avalon Free Future
Date Wed, 19 Aug 2009 08:35:46 GMT
Hi Robert,

comments inside...

2009/8/19 Robert Burrell Donkin <robertburrelldonkin@gmail.com>:
> Loader Service
> ------------------
>
> create loading services (LoaderService interface?) for classes. this
> can be used to replace the classloading each uses ATM. API probably
> something like:
>
> <T> load(class<T> type)
>
> once this is done, we switch the implementation to use guice primed
> with a module dynamically assembled by PhoenixLoader. would need to
> support JSR250 annotation.
>

+1

> Switch To Direct Excalibur In Socket Library
> ---------------------------------------------------
>
> i started looking at this on the branch. should be possible to replace
> the avalon service approach for the sockets with injectors and
> annotated lifecycle management. the protocols would still use the
>

use the **what** ? Maybe some word is missing ;)

> Configuration
> ----------------
>
> configuration needs thinking about. the protocols are strongly coupled
> to the avalon configuration mechanism. i would prefer configuration
> POJOs perhaps using AOP to cross cut an adaption layer but i'm have no
> strong bias.

Why not just create a Properties  or commons Configuration object
on-the-fly and inject that ? This will only contain the config needed
for the specific handler / whatever..


>
> any volunteers?
>
> - robert
>

Bye,
Norman

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message