org.apache.ftpserver
Class ConfigurableFtpServerContext

java.lang.Object
  extended by org.apache.ftpserver.ConfigurableFtpServerContext
All Implemented Interfaces:
FtpletContext, FtpServerContext

public class ConfigurableFtpServerContext
extends java.lang.Object
implements FtpServerContext

FTP server configuration implementation. It holds all the components used.


Constructor Summary
ConfigurableFtpServerContext(Configuration conf)
          Constructor - set the root configuration.
 
Method Summary
 void dispose()
          Close all the components.
 CommandFactory getCommandFactory()
          Get the command factory.
 ConnectionConfig getConnectionConfig()
           
 FileSystemManager getFileSystemManager()
          Get file system manager.
 Ftplet getFtplet(java.lang.String name)
          Get Ftplet.
 FtpletContainer getFtpletContainer()
          Get ftplet handler.
 FtpStatistics getFtpStatistics()
          Get ftp statistics.
 Listener getListener(java.lang.String name)
           
 java.util.Map<java.lang.String,Listener> getListeners()
           
 MessageResource getMessageResource()
          Get message resource.
 UserManager getUserManager()
          Get user manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableFtpServerContext

public ConfigurableFtpServerContext(Configuration conf)
                             throws java.lang.Exception
Constructor - set the root configuration.

Throws:
java.lang.Exception
Method Detail

getUserManager

public UserManager getUserManager()
Get user manager.

Specified by:
getUserManager in interface FtpletContext

getFileSystemManager

public FileSystemManager getFileSystemManager()
Get file system manager.

Specified by:
getFileSystemManager in interface FtpletContext

getMessageResource

public MessageResource getMessageResource()
Get message resource.

Specified by:
getMessageResource in interface FtpServerContext

getFtpStatistics

public FtpStatistics getFtpStatistics()
Get ftp statistics.

Specified by:
getFtpStatistics in interface FtpletContext

getFtpletContainer

public FtpletContainer getFtpletContainer()
Get ftplet handler.

Specified by:
getFtpletContainer in interface FtpServerContext

getCommandFactory

public CommandFactory getCommandFactory()
Get the command factory.

Specified by:
getCommandFactory in interface FtpServerContext

getFtplet

public Ftplet getFtplet(java.lang.String name)
Get Ftplet.

Specified by:
getFtplet in interface FtpletContext

dispose

public void dispose()
Close all the components.

Specified by:
dispose in interface FtpServerContext

getListener

public Listener getListener(java.lang.String name)
Specified by:
getListener in interface FtpServerContext

getConnectionConfig

public ConnectionConfig getConnectionConfig()
Specified by:
getConnectionConfig in interface FtpServerContext

getListeners

public java.util.Map<java.lang.String,Listener> getListeners()
Specified by:
getListeners in interface FtpServerContext


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.