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: Guicification [WAS Re: [VOTE] Guice a.k.a DI Replacement]
Date Mon, 17 Aug 2009 11:19:59 GMT
</SNIP>
> i wonder whether it might be better to start by taking on something
> more modest: replacing the ad hoc classloading for handlers and
> mailets with an injection service. i think that PhoenixLoader could be
> used to dynamically bind the services started by phoenix into a guice
> module. guice could then to used to load mailets and handlers injected
> with the services exposed by phoenix plus any other modules loaded.
> the injection service would be used as a bridge between the service
> locator mechanism used by avalon and dependency injection.
>
> - robert
>

Good idea, I'm just had a look at it and it seems to be an option.
Anyway I think in the longterm we should replace the whole avalon
stuff.

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