Norman Maurer wrote:
Hm, I wonder if that should be made and which problems can be caused by
that.

This is the correct way. You need a service that was not previously needed. The container is indeed there for this things.

Stefano

Am Dienstag, den 14.03.2006, 18:52 +0100 schrieb Stefano Bagnara:
in the service() method of the SMTPServer you can reach the ServiceManager. Then you have to lookup for the datasourceselector and pass it to the handler.

Currently the SMTPServer has no dependencies on DataSourceSelector, so you will have to add this dependency declaration (adding it to the SMTPServer.xinfo and to james-assembly.xml).

Look at the James.xinfo and James block in james-assembly.xml to understand how to add this dependency declaration to the SMTPServer, too.

Stefano



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to