You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-users@mina.apache.org by Mike Roberts <mr...@metaflow.com> on 2009/07/06 15:21:25 UTC

XML Bean wiring

Hi,

 

Im new to ftpd but have it up and running nicely Just finding one small
thing hard to configure so far.

 

I want to setup a spring mail bean and reference it in my custom FTPLet but
cant figure out the xml to do this can anyone send me an example of
declaring a pojo bean in the ftpd.xml and then using the bean reference in
the FTPLet fragment please?

 

 

 


Re: XML Bean wiring

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Mon, Jul 6, 2009 at 3:21 PM, Mike Roberts<mr...@metaflow.com> wrote:
> I want to setup a spring mail bean and reference it in my custom FTPLet but
> cant figure out the xml to do this can anyone send me an example of
> declaring a pojo bean in the ftpd.xml and then using the bean reference in
> the FTPLet fragment please?

Sorry for the extremely late response :-( Is this still a problem for you?

Anyways, to set up an Ftplet in the XML configuration, you need to use
the Spring beans configuration detailed here:
http://static.springsource.org/spring/docs/2.5.x/reference/beans.html#beans-definition

/niklas