it.geosolutions.geobatch.ftpserver.server
Class GeoBatchServer
java.lang.Object
it.geosolutions.geobatch.ftpserver.server.GeoBatchServer
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
public class GeoBatchServer
- extends java.lang.Object
- implements org.springframework.beans.factory.InitializingBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoBatchServer
public GeoBatchServer()
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
create
public static org.apache.ftpserver.FtpServer create(FtpServerConfig config,
org.apache.ftpserver.ftplet.UserManager userManager)
suspend
public void suspend()
stop
public void stop()
start
public void start()
throws org.apache.ftpserver.ftplet.FtpException
- Throws:
org.apache.ftpserver.ftplet.FtpException
resume
public void resume()
isSuspended
public boolean isSuspended()
isStopped
public boolean isStopped()
getLastConfig
public FtpServerConfig getLastConfig()
setLastConfig
public void setLastConfig(FtpServerConfig lastConfig)
throws DAOException
- Parameters:
lastConfig - the lastConfig to set
- Throws:
DAOException
setFtpServer
public void setFtpServer(org.apache.ftpserver.FtpServer ftpServer)
- Parameters:
ftpServer - the ftpServer to set
getFtpServer
public org.apache.ftpserver.FtpServer getFtpServer()
- Returns:
- the ftpServer
getServerConfigDAO
public FtpServerConfigDAO getServerConfigDAO()
setServerConfigDAO
public void setServerConfigDAO(FtpServerConfigDAO serverConfigDAO)
setUserManager
public void setUserManager(GeoBatchUserManager userManager)
getUserManager
public GeoBatchUserManager getUserManager()
Copyright © 2008-2012 GeoSolutions. All Rights Reserved.