[jboss-dev-forums] [Design of JBoss ESB] - FtpClientUtil refactoring
b_georges
do-not-reply at jboss.com
Mon Nov 6 17:06:09 EST 2006
In order to add support for protocol such as Secure FTP over SSL and SSH, which could be implemented using either open or closed source implementation. We need flexibility to extend and configure the bus to support any of these implementations.
We discussed with Esteban to start with the following approach:
Create an Interface based on the existing FtpClientUtil
core/rosetta/src/org/jboss/soa/esb/util/RemoteFileSystem.java
Create a Factory
core/rosetta/src/org/jboss/soa/esb/util/RemoteFileSystemFactory.java
Implementation in the internal package
Regular FTP: core/rosetta/src/org/jboss/internal/soa/esb/util/EdtFtpImpl.java
Secure FTP [over ssh]: core/rosetta/src/org/jboss/internal/soa/esb/util/JSchFtpImpl.java
Others...
update action classes to use the RemoteFileSystem factory
core/listeners/src/org/jboss/soa/esb/actions/FtpUploader.java
| core/listeners/src/org/jboss/soa/esb/actions/FtpDownloader.java
I will check these in the workspace.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983580#3983580
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983580
More information about the jboss-dev-forums
mailing list