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
      • setCifsServer

        public void setCifsServer​(CIFSServerBean smbServer)
        Set the CIFS server
        Parameters:
        smbServer - CIFS server
      • setCIFSServerEnabled

        public void setCIFSServerEnabled​(boolean enabled)
                                  throws java.lang.Exception
        Description copied from interface: FileServerConfigMBean
        Enable/disable CIFS server
        Specified by:
        setCIFSServerEnabled in interface FileServerConfigMBean
        Parameters:
        enabled - true to enable, false to disable
        Throws:
        java.lang.Exception
      • 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
      • createMounter

        public CifsMounter createMounter()
        Create a mounter to mount/unmount a share on the CIFS server
        Returns:
        CifsMounter