/* ================================================================== * Created [2009-4-27 下午11:32:55] by Jon.King * ================================================================== * TSS * ================================================================== * mailTo:jinpujun@hotmail.com * Copyright (c) Jon.King, 2009-2012 * ================================================================== */ package com.jinhe.tss.portal; import com.jinhe.tss.core.sso.context.Context; /** * <p> EnvionmentVariables.java </p> * <p> * 环境变量工厂类,负责对环境变量的封装操作 * </p> */ public class EnvionmentVariables { /** * <p> * 获取Portal应用系统上下文根路径(即发布路径),一般为"/tss" * </p> * @return */ public static String getContextPath(){ return Context.getApplicationContext().getCurrentAppServer().getPath(); } }