public class FileServerConfig extends java.lang.Object implements FileServerConfigMBean
Implements the file server configuration interface using the fileServerConfigurationBase bean from network-protocol-context.xml.
| Constructor and Description |
|---|
FileServerConfig()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
CifsMounter |
createMounter()
Create a mounter to mount/unmount a share on the CIFS server
|
java.lang.String |
getCIFSServerAddress()
Return the CIFS server IP address
|
java.lang.String |
getCIFSServerName()
Return the CIFS server name
|
org.alfresco.jlan.server.config.ServerConfiguration |
getFileServerConfiguration()
Set the file server configuration
|
boolean |
isCIFSServerEnabled()
Check if the CIFS server is enabled
|
boolean |
isFTPServerEnabled()
Check if the FTP server is enabled
|
boolean |
isNFSServerEnabled()
Check if the NFS server is enabled
|
void |
setCifsServer(CIFSServerBean smbServer)
Set the CIFS server
|
void |
setCIFSServerEnabled(boolean enabled)
Enable/disable CIFS server
|
void |
setFileServerConfiguration(org.alfresco.jlan.server.config.ServerConfiguration serverConfig)
Set the file server configuration
|
void |
setFtpServer(FTPServerBean ftpServer)
Set the FTP server
|
void |
setFTPServerEnabled(boolean enabled)
Enable/disable FTP server
|
void |
setNfsServer(NFSServerBean nfsServer)
Set the NFS server
|
void |
setNFSServerEnabled(boolean enabled)
Enable/disable NFS server
|
public org.alfresco.jlan.server.config.ServerConfiguration getFileServerConfiguration()
public void setFileServerConfiguration(org.alfresco.jlan.server.config.ServerConfiguration serverConfig)
serverConfig - ServerConfigurationpublic void setCifsServer(CIFSServerBean smbServer)
smbServer - CIFS serverpublic boolean isCIFSServerEnabled()
isCIFSServerEnabled in interface FileServerConfigMBeanpublic void setCIFSServerEnabled(boolean enabled)
throws java.lang.Exception
FileServerConfigMBeansetCIFSServerEnabled in interface FileServerConfigMBeanenabled - true to enable, false to disablejava.lang.Exceptionpublic void setFtpServer(FTPServerBean ftpServer)
ftpServer - FTP serverpublic boolean isFTPServerEnabled()
isFTPServerEnabled in interface FileServerConfigMBeanpublic void setFTPServerEnabled(boolean enabled)
throws java.lang.Exception
FileServerConfigMBeansetFTPServerEnabled in interface FileServerConfigMBeanenabled - true to enable, false to disablejava.lang.Exceptionpublic void setNfsServer(NFSServerBean nfsServer)
nfsServer - NFS serverpublic boolean isNFSServerEnabled()
isNFSServerEnabled in interface FileServerConfigMBeanpublic void setNFSServerEnabled(boolean enabled)
throws java.lang.Exception
FileServerConfigMBeansetNFSServerEnabled in interface FileServerConfigMBeanenabled - true to enable, false to disablejava.lang.Exceptionpublic java.lang.String getCIFSServerName()
getCIFSServerName in interface FileServerConfigMBeanpublic java.lang.String getCIFSServerAddress()
getCIFSServerAddress in interface FileServerConfigMBeanpublic CifsMounter createMounter()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.