|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ftpserver.impl.DefaultFtpServerContext
public class DefaultFtpServerContext
Internal class, do not use directly. FTP server configuration implementation. It holds all the components used.
| Constructor Summary | |
|---|---|
DefaultFtpServerContext()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFtpServerContext()
| Method Detail |
|---|
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 Ftplet
Ftplet registred with the provided name, or null if none existspublic void dispose()
dispose in interface FtpServerContextpublic Listener getListener(String name)
getListener in interface FtpServerContext
public void setListener(String name,
Listener listener)
public Map<String,Listener> getListeners()
getListeners in interface FtpServerContextpublic void setListeners(Map<String,Listener> listeners)
public void addListener(String name,
Listener listener)
public Listener removeListener(String name)
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 FtpServerContextpublic void setConnectionConfig(ConnectionConfig connectionConfig)
public ThreadPoolExecutor getThreadPoolExecutor()
FtpServerContext
getThreadPoolExecutor in interface FtpServerContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||