public class ServerConfigurationBean extends AbstractServerConfigurationBean implements org.springframework.beans.factory.DisposableBean
Acts as an adaptor between JLAN's configuration requirements and the spring configuration of the Alfresco filesystem subsystem.
Also contains an amount of initialisation logic.
Modifier and Type | Field and Description |
---|---|
protected ClusterConfigBean |
clusterConfigBean |
BIND_TO_IGNORE, DefaultFTPAnonymousAccount, DefaultFTPServerPort, DefaultFTPSrvSessionTimeout, DefaultMemoryPoolBufSizes, DefaultMemoryPoolInitAlloc, DefaultMemoryPoolMaxAlloc, DefaultThreadPoolInit, DefaultThreadPoolMax, logger, m_authenticationComponent, m_disableNativeCode, m_ftpDebugStr, m_nfsDebugStr, m_sessDbgStr, m_tenantService, MaxSessionTimeout, MemoryPoolMaximumAllocation, MemoryPoolMinimumAllocation, TokenLocalName
Constructor and Description |
---|
ServerConfigurationBean()
Default constructor
|
ServerConfigurationBean(String srvName)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
initialiseRuntimeContext(String uniqueName,
AlfrescoContext diskCtx)
Initialise a runtime context - not configured through spring e.g MT.
|
protected void |
processCIFSServerConfig()
Process the CIFS server configuration
|
protected void |
processClusterConfig() |
protected void |
processCoreServerConfig()
Process the core server configuration
|
protected void |
processFilesystemsConfig()
Process the filesystems configuration
|
protected void |
processFTPServerConfig()
Process the FTP server configuration
|
protected void |
processSecurityConfig()
Process the security configuration
|
void |
setCifsConfigBean(CIFSConfigBean cifsConfigBean) |
void |
setClusterConfigBean(ClusterConfigBean clusterConfigBean) |
void |
setCoreServerConfigBean(CoreServerConfigBean coreServerConfigBean) |
void |
setFilesystemContexts(List<org.alfresco.jlan.server.core.DeviceContext> filesystemContexts) |
void |
setFtpConfigBean(FTPConfigBean ftpConfigBean) |
void |
setSecurityConfigBean(SecurityConfigBean securityConfigBean) |
closeConfiguration, getApplicationsContext, getAuthenticationComponent, getAuthenticationService, getAuthorityService, getBean, getLocalDomainName, getLocalServerName, getNamespaceService, getNodeService, getPersonService, getRepoDiskInterface, getSearchService, getTenantService, getTransactionService, init, isFTPServerEnabled, isInitialised, isNativeCodeDisabled, isNFSServerEnabled, isSMBServerEnabled, onApplicationEvent, parseAdapterName, parsePlatformString, processWINSServerConfig, setApplicationContext, setAuthenticationComponent, setAuthenticationService, setAuthorityService, setDiskInterface, setNamespaceService, setNodeService, setPersonService, setSearchService, setTenantService, setTransactionService
addConfigSection, addListener, addServer, findServer, fireConfigurationChange, getConfigSection, getPlatformType, getPlatformTypeString, getServer, getServerName, hasConfigSection, hasConfigurationListeners, isServerRunning, isUpdated, loadConfiguration, numberOfServers, removeAllConfigSections, removeConfigSection, removeListener, removeServer, saveConfiguration, setServerName, setUpdated
protected ClusterConfigBean clusterConfigBean
public ServerConfigurationBean()
public ServerConfigurationBean(String srvName)
srvName
- Stringpublic void setCifsConfigBean(CIFSConfigBean cifsConfigBean)
public void setFtpConfigBean(FTPConfigBean ftpConfigBean)
public void setFilesystemContexts(List<org.alfresco.jlan.server.core.DeviceContext> filesystemContexts)
public void setSecurityConfigBean(SecurityConfigBean securityConfigBean)
public void setCoreServerConfigBean(CoreServerConfigBean coreServerConfigBean)
public void setClusterConfigBean(ClusterConfigBean clusterConfigBean)
protected void processCIFSServerConfig()
processCIFSServerConfig
in class AbstractServerConfigurationBean
protected void processFTPServerConfig()
processFTPServerConfig
in class AbstractServerConfigurationBean
protected void processFilesystemsConfig()
processFilesystemsConfig
in class AbstractServerConfigurationBean
protected void processSecurityConfig()
processSecurityConfig
in class AbstractServerConfigurationBean
protected void processCoreServerConfig() throws org.alfresco.jlan.server.config.InvalidConfigurationException
processCoreServerConfig
in class AbstractServerConfigurationBean
org.alfresco.jlan.server.config.InvalidConfigurationException
public void initialiseRuntimeContext(String uniqueName, AlfrescoContext diskCtx)
uniqueName
- StringdiskCtx
- AlfrescoContextprotected void processClusterConfig() throws org.alfresco.jlan.server.config.InvalidConfigurationException
processClusterConfig
in class AbstractServerConfigurationBean
org.alfresco.jlan.server.config.InvalidConfigurationException
Copyright © 2005–2017 Alfresco Software. All rights reserved.