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, 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(java.lang.String srvName)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
initialiseRuntimeContext(java.lang.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 |
processNFSServerConfig()
Process the NFS server configuration
|
protected void |
processSecurityConfig()
Process the security configuration
|
void |
setAvmAllStores(boolean avmAllStores) |
void |
setCifsConfigBean(CIFSConfigBean cifsConfigBean) |
void |
setClusterConfigBean(ClusterConfigBean clusterConfigBean) |
void |
setCoreServerConfigBean(CoreServerConfigBean coreServerConfigBean) |
void |
setFilesystemContexts(java.util.List filesystemContexts) |
void |
setFtpConfigBean(FTPConfigBean ftpConfigBean) |
void |
setNfsConfigBean(NFSConfigBean nfsConfigBean) |
void |
setSecurityConfigBean(SecurityConfigBean securityConfigBean) |
closeConfiguration, getApplicationsContext, getAuthenticationComponent, getAuthenticationService, getAuthorityService, getAvmDiskInterface, getBean, getLocalDomainName, getLocalServerName, getNamespaceService, getNodeService, getPersonService, getRepoDiskInterface, getSearchService, getTenantService, getTransactionService, init, isFTPServerEnabled, isInitialised, isNativeCodeDisabled, isNFSServerEnabled, isSMBServerEnabled, onApplicationEvent, parseAdapterName, parsePlatformString, processWINSServerConfig, setApplicationContext, setAuthenticationComponent, setAuthenticationService, setAuthorityService, setAvmDiskInterface, setDiskInterface, setNamespaceService, setNodeService, setPersonService, setSearchService, setTenantService, setTransactionServiceaddConfigSection, addListener, addServer, findServer, fireConfigurationChange, getConfigSection, getPlatformType, getPlatformTypeString, getServer, getServerName, hasConfigSection, hasConfigurationListeners, isServerRunning, isUpdated, loadConfiguration, numberOfServers, removeAllConfigSections, removeConfigSection, removeListener, removeServer, saveConfiguration, setServerName, setUpdatedprotected ClusterConfigBean clusterConfigBean
public ServerConfigurationBean()
public ServerConfigurationBean(java.lang.String srvName)
srvName - Stringpublic void setCifsConfigBean(CIFSConfigBean cifsConfigBean)
public void setFtpConfigBean(FTPConfigBean ftpConfigBean)
public void setNfsConfigBean(NFSConfigBean nfsConfigBean)
public void setFilesystemContexts(java.util.List filesystemContexts)
public void setAvmAllStores(boolean avmAllStores)
public void setSecurityConfigBean(SecurityConfigBean securityConfigBean)
public void setCoreServerConfigBean(CoreServerConfigBean coreServerConfigBean)
public void setClusterConfigBean(ClusterConfigBean clusterConfigBean)
protected void processCIFSServerConfig()
processCIFSServerConfig in class AbstractServerConfigurationBeanprotected void processFTPServerConfig()
processFTPServerConfig in class AbstractServerConfigurationBeanprotected void processNFSServerConfig()
processNFSServerConfig in class AbstractServerConfigurationBeanprotected void processFilesystemsConfig()
processFilesystemsConfig in class AbstractServerConfigurationBeanprotected void processSecurityConfig()
processSecurityConfig in class AbstractServerConfigurationBeanprotected void processCoreServerConfig()
throws org.alfresco.jlan.server.config.InvalidConfigurationException
processCoreServerConfig in class AbstractServerConfigurationBeanorg.alfresco.jlan.server.config.InvalidConfigurationExceptionpublic void initialiseRuntimeContext(java.lang.String uniqueName,
AlfrescoContext diskCtx)
diskCtx - protected void processClusterConfig()
throws org.alfresco.jlan.server.config.InvalidConfigurationException
processClusterConfig in class AbstractServerConfigurationBeanorg.alfresco.jlan.server.config.InvalidConfigurationExceptionpublic void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.