001/*
002 * (C) Copyright 2006-2012 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 *
016 * Contributors:
017 *     bstefanescu, jcarsique
018 *
019 * $Id$
020 */
021
022package org.nuxeo.launcher.config;
023
024/**
025 * Constants duplicated from {@link org.nuxeo.common.Environment}
026 *
027 * @author <a href="mailto:bs@nuxeo.com">Bogdan Stefanescu</a>
028 * @deprecated Since 5.6. Use org.nuxeo.common.Environment
029 */
030@Deprecated
031public class Environment {
032
033    private Environment() {
034        // Constants class
035    }
036
037    /**
038     * Constants that identifies possible hosts for the framework.
039     */
040    public static final String JBOSS_HOST = "JBoss";
041
042    // Jetty or GF3 embedded
043    public static final String NXSERVER_HOST = "NXServer";
044
045    public static final String TOMCAT_HOST = "Tomcat";
046
047    public static final String NUXEO_HOME_DIR = "nuxeo.home.dir";
048
049    public static final String NUXEO_RUNTIME_HOME = "nuxeo.runtime.home";
050
051    public static final String NUXEO_DATA_DIR = "nuxeo.data.dir";
052
053    public static final String NUXEO_LOG_DIR = "nuxeo.log.dir";
054
055    public static final String NUXEO_TMP_DIR = "nuxeo.tmp.dir";
056
057    public static final String NUXEO_CONFIG_DIR = "nuxeo.config.dir";
058
059    public static final String NUXEO_WEB_DIR = "nuxeo.web.dir";
060
061    public static final String NUXEO_PID_DIR = "nuxeo.pid.dir";
062
063    public static final String NUXEO_APP_HOME = "org.nuxeo.app.home";
064
065    public static final String NUXEO_LOOPBACK_URL = "nuxeo.loopback.url";
066
067    // OpenSocial
068    public static final String OPENSOCIAL_GADGETS_EMBEDDED_SERVER = "opensocial.gadgets.embeddedServer";
069
070    public static final String OPENSOCIAL_GADGETS_HOST = "opensocial.gadgets.host";
071
072    public static final String OPENSOCIAL_GADGETS_PORT = "opensocial.gadgets.port";
073
074    public static final String OPENSOCIAL_GADGETS_PATH = "opensocial.gadgets.path";
075
076    // proxy
077    public static final String NUXEO_HTTP_PROXY_HOST = "nuxeo.http.proxy.host";
078
079    public static final String NUXEO_HTTP_PROXY_PORT = "nuxeo.http.proxy.port";
080
081    public static final String NUXEO_HTTP_PROXY_LOGIN = "nuxeo.http.proxy.login";
082
083    public static final String NUXEO_HTTP_PROXY_PASSWORD = "nuxeo.http.proxy.password";
084
085}