public class Environment extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BUNDLES |
static String |
BUNDLES_DIR
The application layout (optional):
directory containing nuxeo runtime osgi bundles.
|
static String |
CONFIG_DIR
Deprecated.
never defined; use
NUXEO_CONFIG_DIR |
static String |
DATA_DIR
Deprecated.
never defined; use
NUXEO_DATA_DIR |
static String |
DISTRIBUTION_NAME |
static String |
DISTRIBUTION_VERSION |
static String |
HOME_DIR
Deprecated.
never defined; use
NUXEO_HOME_DIR |
static String |
JBOSS_HOST
Constants that identifies possible hosts for the framework.
|
static String |
LOG_DIR
Deprecated.
never defined; use
NUXEO_LOG_DIR |
static String |
NUXEO_CONFIG_DIR |
static String |
NUXEO_CONTEXT_PATH |
static String |
NUXEO_DATA_DIR |
static String |
NUXEO_HOME |
static String |
NUXEO_HOME_DIR |
static String |
NUXEO_LOG_DIR |
static String |
NUXEO_PID_DIR |
static String |
NUXEO_RUNTIME_HOME |
static String |
NUXEO_TMP_DIR |
static String |
NUXEO_WEB_DIR |
static String |
NXSERVER_HOST |
static String |
TOMCAT_HOST |
static String |
WEB_DIR
Deprecated.
never defined; use
NUXEO_WEB_DIR |
Constructor and Description |
---|
Environment(File home) |
Environment(File home,
Properties properties) |
public static final String JBOSS_HOST
public static final String NXSERVER_HOST
public static final String TOMCAT_HOST
public static final String NUXEO_HOME_DIR
public static final String NUXEO_HOME
public static final String NUXEO_RUNTIME_HOME
public static final String NUXEO_DATA_DIR
public static final String NUXEO_LOG_DIR
public static final String NUXEO_PID_DIR
public static final String NUXEO_TMP_DIR
public static final String NUXEO_CONFIG_DIR
public static final String NUXEO_WEB_DIR
public static final String NUXEO_CONTEXT_PATH
@Deprecated public static final String HOME_DIR
NUXEO_HOME_DIR
@Deprecated public static final String WEB_DIR
NUXEO_WEB_DIR
@Deprecated public static final String CONFIG_DIR
NUXEO_CONFIG_DIR
@Deprecated public static final String DATA_DIR
NUXEO_DATA_DIR
@Deprecated public static final String LOG_DIR
NUXEO_LOG_DIR
public static final String BUNDLES_DIR
public static final String BUNDLES
public static final String DISTRIBUTION_NAME
public static final String DISTRIBUTION_VERSION
public Environment(File home)
public Environment(File home, Properties properties)
public static void setDefault(Environment env)
public static Environment getDefault()
public File getHome()
public boolean isApplicationServer()
public void setIsApplicationServer(boolean isAppServer)
public String getHostApplicationName()
public String getHostApplicationVersion()
public void setHostApplicationName(String name)
public void setHostApplicationVersion(String version)
public File getTemp()
public void setTemp(File temp)
public File getConfig()
public void setConfig(File config)
public File getLog()
public void setLog(File log)
public File getData()
public void setData(File data)
public File getWeb()
public void setWeb(File web)
public File getRuntimeHome()
public void setRuntimeHome(File runtimeHome)
public String[] getCommandLineArguments()
public void setCommandLineArguments(String[] args)
public Properties getProperties()
public void loadProperties(Properties props)
public boolean isJBoss()
public boolean isJetty()
public boolean isTomcat()
public void init()
public File getServerHome()
NUXEO_HOME_DIR
is not set), whereas getHome()
may
return runtime home.public void setServerHome(File serverHome)
Copyright © 2013 Nuxeo SA. All Rights Reserved.