public class ConnectionConfigFactoryBean extends ConnectionConfigFactory implements org.springframework.beans.factory.FactoryBean
FactoryBean
which extends ConnectionConfigFactory
making it easier to use Spring's standard <bean> tag instead of
FtpServer's custom XML tags to configure things.ConnectionConfigFactory
Constructor and Description |
---|
ConnectionConfigFactoryBean() |
Modifier and Type | Method and Description |
---|---|
Object |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
createConnectionConfig, getLoginFailureDelay, getMaxAnonymousLogins, getMaxLoginFailures, getMaxLogins, getMaxThreads, isAnonymousLoginEnabled, setAnonymousLoginEnabled, setLoginFailureDelay, setMaxAnonymousLogins, setMaxLoginFailures, setMaxLogins, setMaxThreads
public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.