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_HOME |
dataDir, DEFAULT_CONTEXT_NAME, DEFAULT_DATA_DIR, DEFAULT_LOG_DIR, DEFAULT_TMP_DIR, generator, JAVA_OPTS, 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
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 ServerConfigurator
public void checkPaths() throws ConfigurationException
ServerConfigurator
checkPaths
in class ServerConfigurator
ConfigurationException
- If deprecated paths have been detectedpublic File getLogConfFile()
getLogConfFile
in class ServerConfigurator
public File getConfigDir()
getConfigDir
in class ServerConfigurator
public String getTomcatConfig()
public String getContextName()
public void prepareWizardStart()
prepareWizardStart
in class ServerConfigurator
public void cleanupPostWizard()
cleanupPostWizard
in class ServerConfigurator
public boolean isWizardAvailable()
ServerConfigurator
isWizardAvailable
in class ServerConfigurator
ServerConfigurator.prepareWizardStart()
,
ServerConfigurator.cleanupPostWizard()
public File getRuntimeHome()
ServerConfigurator
getRuntimeHome
in class ServerConfigurator
public File getServerLibDir()
getServerLibDir
in class ServerConfigurator
protected void checkNetwork() throws ConfigurationException
ServerConfigurator
ConfigurationGenerator.checkAddressesAndPorts()
checkNetwork
in class ServerConfigurator
ConfigurationException
ConfigurationGenerator.checkAddressesAndPorts()
protected void addServerSpecificParameters(Map<String,String> parametersmigration)
ServerConfigurator
addServerSpecificParameters
in class ServerConfigurator
Copyright © 2018 Nuxeo. All rights reserved.