public class FtpServerFactoryBean extends FtpServerFactory implements org.springframework.beans.factory.FactoryBean
FactoryBean
which extends FtpServerFactory
making it easier to use Spring's standard <bean> tag instead of
FtpServer's custom XML tags to configure things.FtpServerFactory
Constructor and Description |
---|
FtpServerFactoryBean() |
Modifier and Type | Method and Description |
---|---|
Object |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
addListener, createServer, getCommandFactory, getConnectionConfig, getFileSystem, getFtplets, getListener, getListeners, getMessageResource, getUserManager, setCommandFactory, setConnectionConfig, setFileSystem, setFtplets, setListeners, setMessageResource, setUserManager
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–2025 The Apache Software Foundation. All rights reserved.