public class ListenerFactoryBean extends ListenerFactory implements org.springframework.beans.factory.FactoryBean
FactoryBean
which extends ListenerFactory
making it easier to use Spring's standard <bean> tag instead of
FtpServer's custom XML tags to configure things.ListenerFactory
Constructor and Description |
---|
ListenerFactoryBean() |
Modifier and Type | Method and Description |
---|---|
Object |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
createListener, getBlockedAddresses, getBlockedSubnets, getDataConnectionConfiguration, getIdleTimeout, getPort, getServerAddress, getSessionFilter, getSslConfiguration, isImplicitSsl, setBlockedAddresses, setBlockedSubnets, setDataConnectionConfiguration, setIdleTimeout, setImplicitSsl, setPort, setServerAddress, setSessionFilter, setSslConfiguration
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.