My question is that if I configure Ftplets, as in the example, then how I can access to those Ftplets. Because in the API FtpServer has no function getFtplets().
Now this function is part of FtpServerFactory(). Or is it possible to configure FtpServerFactory and load the factory as Bean? Mahboob -----Original Message----- From: Niklas Gustavsson [mailto:[email protected]] Sent: Thursday, November 12, 2009 9:10 PM To: [email protected] Subject: Re: Loading Ftplets from configuration file On Thu, Nov 12, 2009 at 4:22 PM, Mahboob Alam Khalid <[email protected]> wrote: > I want to know that it is possible to load ftplets from the > configuration file in the new API. In the old version, I can load the > bean using XMLBeanFactory and then call FtpServer.getFtplets(). Now this > function getFtplets() is part of FtpServerFactory class. If I load the > bean then how I can get Ftplets in the new version? Not sure I fully get your question. If you want to configure Ftplets, your example seemed to be correct. If you need to get the Ftplets in runtime you can use FtpletContext.getFtplet(). /niklas
