Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.launcher.config
Class JBossConfigurator

java.lang.Object
  extended by org.nuxeo.launcher.config.ServerConfigurator
      extended by org.nuxeo.launcher.config.JBossConfigurator

public class JBossConfigurator
extends ServerConfigurator

Author:
jcarsique

Field Summary
static String DEFAULT_CONFIGURATION
           
static String JBOSS_CONFIG
          Deprecated. Use getConfigPath()
static String SHUTDOWN_CLASS
           
static String STARTUP_CLASS
           
 
Fields inherited from class org.nuxeo.launcher.config.ServerConfigurator
NUXEO_SYSTEM_PROPERTIES
 
Constructor Summary
JBossConfigurator(ConfigurationGenerator configurationGenerator)
           
 
Method Summary
 void checkPaths()
          Check server paths; warn if existing deprecated paths.
 void cleanupPostWizard()
           
 File getConfigDir()
           
 String getConfigPath()
           
 String getConfiguration()
           
 String getDefaultDataDir()
           
 String getDefaultTmpDir()
           
 File getLogConfFile()
           
 File getServerLibDir()
           
 boolean isConfigured()
           
 boolean isWizardAvailable()
           
 void prepareWizardStart()
           
 
Methods inherited from class org.nuxeo.launcher.config.ServerConfigurator
dumpProperties, filterSystemProperties, getDataDir, getDirectory, getLogDir, getNuxeoLibDir, getPidDir, getTmpDir, initLogs, removeExistingLocks, setDataDir, setDirectory, setLogDir, setPidDir, setTmpDir
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JBOSS_CONFIG

@Deprecated
public static final String JBOSS_CONFIG
Deprecated. Use getConfigPath()
See Also:
Constant Field Values

DEFAULT_CONFIGURATION

public static final String DEFAULT_CONFIGURATION
See Also:
Constant Field Values

STARTUP_CLASS

public static final String STARTUP_CLASS
Since:
5.4.2
See Also:
Constant Field Values

SHUTDOWN_CLASS

public static final String SHUTDOWN_CLASS
Since:
5.4.2
See Also:
Constant Field Values
Constructor Detail

JBossConfigurator

public JBossConfigurator(ConfigurationGenerator configurationGenerator)
Method Detail

getConfiguration

public String getConfiguration()

isConfigured

public boolean isConfigured()
Returns:
true if "config" files directory already exists

getConfigPath

public String getConfigPath()

getDefaultDataDir

public String getDefaultDataDir()
Returns:
Default data directory path relative to Nuxeo Home

getLogConfFile

public File getLogConfFile()
Specified by:
getLogConfFile in class ServerConfigurator
Returns:
Log4J configuration file

checkPaths

public void checkPaths()
                throws ConfigurationException
Description copied from class: ServerConfigurator
Check server paths; warn if existing deprecated paths. Override this method to perform server specific checks.

Overrides:
checkPaths in class ServerConfigurator
Throws:
ConfigurationException - If deprecated paths have been detected

getDefaultTmpDir

public String getDefaultTmpDir()
Specified by:
getDefaultTmpDir in class ServerConfigurator
Returns:
Default temporary directory path relative to Nuxeo Home

getConfigDir

public File getConfigDir()
Specified by:
getConfigDir in class ServerConfigurator
Returns:
Nuxeo config directory

prepareWizardStart

public void prepareWizardStart()
Specified by:
prepareWizardStart in class ServerConfigurator

cleanupPostWizard

public void cleanupPostWizard()
Specified by:
cleanupPostWizard in class ServerConfigurator

isWizardAvailable

public boolean isWizardAvailable()
Specified by:
isWizardAvailable in class ServerConfigurator
Returns:
true if configuration wizard is required before starting Nuxeo

getServerLibDir

public File getServerLibDir()
Specified by:
getServerLibDir in class ServerConfigurator
Returns:
Server's third party libraries directory

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.