public class TomcatConfigurator extends ServerConfigurator
| Modifier and Type | Field and Description | 
|---|---|
static String | 
PARAM_HTTP_TOMCAT_ADMIN_PORT  | 
static String | 
STARTUP_CLASS  | 
static String | 
TOMCAT_CONFIG
Deprecated. 
 
 | 
static String | 
TOMCAT_HOME  | 
dataDir, DEFAULT_CONTEXT_NAME, DEFAULT_DATA_DIR, DEFAULT_LOG_DIR, DEFAULT_TMP_DIR, generator, libDir, log, logDir, NUXEO_SYSTEM_PROPERTIES, packagesDir, pidDir, tmpDir| Constructor and Description | 
|---|
TomcatConfigurator(ConfigurationGenerator configurationGenerator)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addServerSpecificParameters(Map<String,String> parametersmigration)
Override to add server specific parameters to the list of parameters to migrate 
 | 
protected void | 
checkNetwork()
Perform server specific checks, not already done by  
ConfigurationGenerator.checkAddressesAndPorts() | 
void | 
checkPaths()
Check server paths; warn if existing deprecated paths. 
 | 
void | 
cleanupPostWizard()  | 
File | 
getConfigDir()  | 
String | 
getContextName()  | 
protected String | 
getDefaultDataDir()  | 
File | 
getLogConfFile()  | 
File | 
getRuntimeHome()
Returns the Home of NuxeoRuntime (same as Framework.getRuntime().getHome().getAbsolutePath()) 
 | 
File | 
getServerLibDir()  | 
String | 
getTomcatConfig()  | 
protected boolean | 
isConfigured()  | 
boolean | 
isWizardAvailable()
Override it to make the wizard available for a given server. 
 | 
void | 
prepareWizardStart()  | 
checkPath, dumpProperties, filterSystemProperties, getDataDir, getDefaultPackagesDir, getDefaultTmpDir, getDirectory, getInfo, getLogDir, getNuxeoLibDir, getOutputDirectory, getPackagesDir, getPidDir, getTmpDir, initLogs, parseAndCopy, setDataDir, setDirectory, setLogDir, setPidDir, setTmpDir, verifyInstallation@Deprecated public static final String TOMCAT_CONFIG
getTomcatConfig()public static final String STARTUP_CLASS
public static final String TOMCAT_HOME
public static final String PARAM_HTTP_TOMCAT_ADMIN_PORT
public TomcatConfigurator(ConfigurationGenerator configurationGenerator)
protected boolean isConfigured()
getTomcatConfig() file already existsprotected String getDefaultDataDir()
getDefaultDataDir in class ServerConfiguratorpublic void checkPaths() throws ConfigurationException
ServerConfiguratorcheckPaths in class ServerConfiguratorConfigurationException - If deprecated paths have been detectedpublic File getLogConfFile()
getLogConfFile in class ServerConfiguratorpublic File getConfigDir()
getConfigDir in class ServerConfiguratorpublic String getTomcatConfig()
public String getContextName()
public void prepareWizardStart()
prepareWizardStart in class ServerConfiguratorpublic void cleanupPostWizard()
cleanupPostWizard in class ServerConfiguratorpublic boolean isWizardAvailable()
ServerConfiguratorisWizardAvailable in class ServerConfiguratorServerConfigurator.prepareWizardStart(), 
ServerConfigurator.cleanupPostWizard()public File getRuntimeHome()
ServerConfiguratorgetRuntimeHome in class ServerConfiguratorpublic File getServerLibDir()
getServerLibDir in class ServerConfiguratorprotected void checkNetwork() throws ConfigurationException
ServerConfiguratorConfigurationGenerator.checkAddressesAndPorts()checkNetwork in class ServerConfiguratorConfigurationExceptionConfigurationGenerator.checkAddressesAndPorts()protected void addServerSpecificParameters(Map<String,String> parametersmigration)
ServerConfiguratoraddServerSpecificParameters in class ServerConfiguratorCopyright © 2016 Nuxeo SA. All rights reserved.