----- Original Message -----
From: "Rafizan Baharum" <[EMAIL PROTECTED]>
> hi
>
> the problem with this is that only GenericListser.service() knows the
recipient
> address
> thru the Mail parameter. since it is final that means i have to save the
Mail
> parameter somewhere i.e protected field. is that a good idea? that will
break
> the GenericListserv design tho..
What exactly is final? I'm not exactly sure of how your proposing to change
things. Hmmm.. are you trying to dynamically call different listserv
configurations by detecting the recipient?
I'm not sure if it helps, but if you want GenericListserv.service() to use a
specified e-mail address, your listserv can override getListservAddress().
By default it is null which causes it to detect the address from the
recipient Collection. Your XML code looks pretty cool, although I'm not
sure what the advantages are to this instead of the JAMES.conf.xml... I
guess you don't need to restart the server to take effect.
Anyway, once you have it together and working, I'd be happy to include it...
I think a listserv is an important piece of functionality that would be nice
to build up.
Serge Knystautas
Loki Technologies
http://www.lokitech.com/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives: <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]