|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.ftpserver.FtpServerImpl
public class FtpServerImpl
Ftp server starting point. Avalon framework will load this from the jar file. This is also the starting point of remote admin.
| Field Summary |
|---|
| Fields inherited from interface org.apache.ftpserver.interfaces.FtpServerInterface |
|---|
DISPLAY_NAME, ROLE |
| Constructor Summary | |
|---|---|
FtpServerImpl()
Default constructor - does nothing. |
|
| Method Summary | |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration conf)
Configure the server - third step. |
void |
contextualize(org.apache.avalon.framework.context.Context context)
Set application context - first spep. |
org.apache.avalon.cornerstone.services.connection.ConnectionHandler |
createConnectionHandler()
Construct an appropriate ConnectionHandler
to handle a new connection. |
void |
dispose()
Release all resources. |
void |
releaseConnectionHandler(org.apache.avalon.cornerstone.services.connection.ConnectionHandler connectionHandler)
Release a previously created ConnectionHandler. |
void |
service(org.apache.avalon.framework.service.ServiceManager serviceManager)
Get all managers - second step. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FtpServerImpl()
| Method Detail |
|---|
public void contextualize(org.apache.avalon.framework.context.Context context)
throws org.apache.avalon.framework.context.ContextException
contextualize in interface org.apache.avalon.framework.context.Contextualizableorg.apache.avalon.framework.context.ContextException
public void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableorg.apache.avalon.framework.service.ServiceException
public void configure(org.apache.avalon.framework.configuration.Configuration conf)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableconf - the XML configuration block
org.apache.avalon.framework.configuration.ConfigurationExceptionpublic void dispose()
dispose in interface org.apache.avalon.framework.activity.Disposable
public org.apache.avalon.cornerstone.services.connection.ConnectionHandler createConnectionHandler()
throws java.lang.Exception
ConnectionHandler
to handle a new connection.
createConnectionHandler in interface org.apache.avalon.cornerstone.services.connection.ConnectionHandlerFactoryjava.lang.Exception - if an error occurspublic void releaseConnectionHandler(org.apache.avalon.cornerstone.services.connection.ConnectionHandler connectionHandler)
releaseConnectionHandler in interface org.apache.avalon.cornerstone.services.connection.ConnectionHandlerFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||