001/* 002 * (C) Copyright 2006-2012 Nuxeo SA (http://nuxeo.com/) and contributors. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 * Contributors: 015 * bstefanescu, jcarsique 016 * 017 * $Id$ 018 */ 019 020package org.nuxeo.launcher.config; 021 022/** 023 * Constants duplicated from {@link org.nuxeo.common.Environment} 024 * 025 * @author <a href="mailto:bs@nuxeo.com">Bogdan Stefanescu</a> 026 * @deprecated Since 5.6. Use org.nuxeo.common.Environment 027 */ 028@Deprecated 029public class Environment { 030 031 private Environment() { 032 // Constants class 033 } 034 035 /** 036 * Constants that identifies possible hosts for the framework. 037 */ 038 public static final String JBOSS_HOST = "JBoss"; 039 040 // Jetty or GF3 embedded 041 public static final String NXSERVER_HOST = "NXServer"; 042 043 public static final String TOMCAT_HOST = "Tomcat"; 044 045 public static final String NUXEO_HOME_DIR = "nuxeo.home.dir"; 046 047 public static final String NUXEO_RUNTIME_HOME = "nuxeo.runtime.home"; 048 049 public static final String NUXEO_DATA_DIR = "nuxeo.data.dir"; 050 051 public static final String NUXEO_LOG_DIR = "nuxeo.log.dir"; 052 053 public static final String NUXEO_TMP_DIR = "nuxeo.tmp.dir"; 054 055 public static final String NUXEO_CONFIG_DIR = "nuxeo.config.dir"; 056 057 public static final String NUXEO_WEB_DIR = "nuxeo.web.dir"; 058 059 public static final String NUXEO_PID_DIR = "nuxeo.pid.dir"; 060 061 public static final String NUXEO_APP_HOME = "org.nuxeo.app.home"; 062 063 public static final String NUXEO_LOOPBACK_URL = "nuxeo.loopback.url"; 064 065 // OpenSocial 066 public static final String OPENSOCIAL_GADGETS_EMBEDDED_SERVER = "opensocial.gadgets.embeddedServer"; 067 068 public static final String OPENSOCIAL_GADGETS_HOST = "opensocial.gadgets.host"; 069 070 public static final String OPENSOCIAL_GADGETS_PORT = "opensocial.gadgets.port"; 071 072 public static final String OPENSOCIAL_GADGETS_PATH = "opensocial.gadgets.path"; 073 074 // proxy 075 public static final String NUXEO_HTTP_PROXY_HOST = "nuxeo.http.proxy.host"; 076 077 public static final String NUXEO_HTTP_PROXY_PORT = "nuxeo.http.proxy.port"; 078 079 public static final String NUXEO_HTTP_PROXY_LOGIN = "nuxeo.http.proxy.login"; 080 081 public static final String NUXEO_HTTP_PROXY_PASSWORD = "nuxeo.http.proxy.password"; 082 083}