opensubscriber
   Find in this group all groups
 
Unknown more information…

s : server-dev@james.apache.org 6 September 2009 • 6:23PM -0400

[smtp] Handler Configuration...?
by Robert Burrell Donkin

REPLY TO AUTHOR
 
REPLY TO GROUP




the services exposed through SMTPHandlerConfigurationData are now injected :-)

all that's left is a simple POJO so i was wondering whether it might
be worthwhile renaming to SMTPConfiguration and replacing the current
interface with an immutable POJO. i agree with your point that the
configuration methods i moved to SMTPSession don't really fit too well
and should be moved probably by injecting the configuration. which
brings us to configuration.

ATM those handlers which need configuration either call the
SMTPSession or implement Configurable. i would prefer to move away
from the Avalon coupling for handlers but i'm not sure the best way
forward.

opinions?

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@jame...
For additional commands, e-mail: server-dev-help@jame...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.