Class FileServerConfig

  • All Implemented Interfaces:
    FileServerConfigMBean

    public class FileServerConfig
    extends java.lang.Object
    implements FileServerConfigMBean
    File Server Configuration MBean Class

    Implements the file server configuration interface using the fileServerConfigurationBase bean from network-protocol-context.xml.

    Author:
    gkspencer
    • Constructor Detail

      • FileServerConfig

        public FileServerConfig()
        Default constructor
    • Method Detail

      • getFileServerConfiguration

        public org.alfresco.jlan.server.config.ServerConfiguration getFileServerConfiguration()
        Set the file server configuration
        Returns:
        ServerConfiguration
      • setFileServerConfiguration

        public void setFileServerConfiguration​(org.alfresco.jlan.server.config.ServerConfiguration serverConfig)
        Set the file server configuration
        Parameters:
        serverConfig - ServerConfiguration
      • setFtpServer

        public void setFtpServer​(FTPServerBean ftpServer)
        Set the FTP server
        Parameters:
        ftpServer - FTP server
      • setFTPServerEnabled

        public void setFTPServerEnabled​(boolean enabled)
                                 throws java.lang.Exception
        Description copied from interface: FileServerConfigMBean
        Enable/disable FTP server
        Specified by:
        setFTPServerEnabled in interface FileServerConfigMBean
        Parameters:
        enabled - true to enable, false to disable
        Throws:
        java.lang.Exception