INT-1614 renaming ClientFactory to SessionFactory

This commit is contained in:
Mark Fisher
2010-11-19 18:21:44 -05:00
parent 398fdee558
commit b37863a6e4
3 changed files with 4 additions and 5 deletions

View File

@@ -33,12 +33,11 @@ import org.springframework.util.Assert;
import org.springframework.util.StringUtils;
/**
* base class for the other {@link org.springframework.integration.ftp.session.FtpClientFactory} implementations.
* Most of this came out of the {@link DefaultFtpClientFactory} and was refactored into a base class
* Base class for FTP SessionFactory implementations.
*
* @author Iwein Fuld
*/
public abstract class AbstractFtpClientFactory<T extends FTPClient> implements SessionFactory {
public abstract class AbstractFtpSessionFactory<T extends FTPClient> implements SessionFactory {
public static final String DEFAULT_REMOTE_WORKING_DIRECTORY = "/";

View File

@@ -25,7 +25,7 @@ import org.apache.commons.net.ftp.FTPClient;
* @author Iwein Fuld
* @author Josh Long
*/
public class DefaultFtpClientFactory extends AbstractFtpClientFactory<FTPClient> {
public class DefaultFtpClientFactory extends AbstractFtpSessionFactory<FTPClient> {
@Override
protected FTPClient createSingleInstanceOfClient() {

View File

@@ -32,7 +32,7 @@ import org.springframework.util.StringUtils;
* @author Josh Long
* @author Iwein Fuld
*/
public class DefaultFtpsClientFactory extends AbstractFtpClientFactory<FTPSClient> {
public class DefaultFtpsClientFactory extends AbstractFtpSessionFactory<FTPSClient> {
private Boolean useClientMode;