public class DefaultFtpServerContext extends Object implements FtpServerContext
Constructor and Description |
---|
DefaultFtpServerContext() |
public void createDefaultUsers() throws Exception
Exception
public UserManager getUserManager()
getUserManager
in interface FtpletContext
UserManager
public FileSystemFactory getFileSystemManager()
getFileSystemManager
in interface FtpletContext
FileSystemFactory
public MessageResource getMessageResource()
getMessageResource
in interface FtpServerContext
public FtpStatistics getFtpStatistics()
getFtpStatistics
in interface FtpletContext
FtpStatistics
public void setFtpStatistics(FtpStatistics statistics)
public FtpletContainer getFtpletContainer()
getFtpletContainer
in interface FtpServerContext
public CommandFactory getCommandFactory()
getCommandFactory
in interface FtpServerContext
public Ftplet getFtplet(String name)
getFtplet
in interface FtpletContext
name
- The name identifying the Ftplet
Ftplet
registred with the provided name, or null if none existspublic void dispose()
dispose
in interface FtpServerContext
public Listener getListener(String name)
getListener
in interface FtpServerContext
public Map<String,Listener> getListeners()
getListeners
in interface FtpServerContext
public void setCommandFactory(CommandFactory commandFactory)
public void setFileSystemManager(FileSystemFactory fileSystemManager)
public void setFtpletContainer(FtpletContainer ftpletContainer)
public void setMessageResource(MessageResource messageResource)
public void setUserManager(UserManager userManager)
public ConnectionConfig getConnectionConfig()
getConnectionConfig
in interface FtpServerContext
public void setConnectionConfig(ConnectionConfig connectionConfig)
public ThreadPoolExecutor getThreadPoolExecutor()
FtpServerContext
getThreadPoolExecutor
in interface FtpServerContext
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.