public class DefaultFtpServerContext extends Object implements FtpServerContext
| Constructor and Description |
|---|
DefaultFtpServerContext() |
public void createDefaultUsers()
throws Exception
Exceptionpublic UserManager getUserManager()
getUserManager in interface FtpletContextUserManagerpublic FileSystemFactory getFileSystemManager()
getFileSystemManager in interface FtpletContextFileSystemFactorypublic MessageResource getMessageResource()
getMessageResource in interface FtpServerContextpublic FtpStatistics getFtpStatistics()
getFtpStatistics in interface FtpletContextFtpStatisticspublic void setFtpStatistics(FtpStatistics statistics)
public FtpletContainer getFtpletContainer()
getFtpletContainer in interface FtpServerContextpublic CommandFactory getCommandFactory()
getCommandFactory in interface FtpServerContextpublic Ftplet getFtplet(String name)
getFtplet in interface FtpletContextname - The name identifying the FtpletFtplet registred with the provided name, or null if none existspublic void dispose()
dispose in interface FtpServerContextpublic Listener getListener(String name)
getListener in interface FtpServerContextpublic Map<String,Listener> getListeners()
getListeners in interface FtpServerContextpublic 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 FtpServerContextpublic void setConnectionConfig(ConnectionConfig connectionConfig)
public ThreadPoolExecutor getThreadPoolExecutor()
FtpServerContextgetThreadPoolExecutor in interface FtpServerContextCopyright © 2003–2025 The Apache Software Foundation. All rights reserved.