INT-1614 renaming ClientFactory to SessionFactory
This commit is contained in:
@@ -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 = "/";
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user