|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.filesys.FileServerConfig
public class FileServerConfig
File Server Configuration MBean Class
Implements the file server configuration interface using the fileServerConfigurationBase bean from network-protocol-context.xml.
Constructor Summary | |
---|---|
FileServerConfig()
Default constructor |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileServerConfig()
Method Detail |
---|
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 FileServerConfigMBean
public void setCIFSServerEnabled(boolean enabled) throws java.lang.Exception
FileServerConfigMBean
setCIFSServerEnabled
in interface FileServerConfigMBean
enabled
- true to enable, false to disable
java.lang.Exception
public void setFtpServer(FTPServerBean ftpServer)
ftpServer
- FTP serverpublic boolean isFTPServerEnabled()
isFTPServerEnabled
in interface FileServerConfigMBean
public void setFTPServerEnabled(boolean enabled) throws java.lang.Exception
FileServerConfigMBean
setFTPServerEnabled
in interface FileServerConfigMBean
enabled
- true to enable, false to disable
java.lang.Exception
public void setNfsServer(NFSServerBean nfsServer)
nfsServer
- NFS serverpublic boolean isNFSServerEnabled()
isNFSServerEnabled
in interface FileServerConfigMBean
public void setNFSServerEnabled(boolean enabled) throws java.lang.Exception
FileServerConfigMBean
setNFSServerEnabled
in interface FileServerConfigMBean
enabled
- true to enable, false to disable
java.lang.Exception
public java.lang.String getCIFSServerName()
getCIFSServerName
in interface FileServerConfigMBean
public java.lang.String getCIFSServerAddress()
getCIFSServerAddress
in interface FileServerConfigMBean
public CifsMounter createMounter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |