org.exoplatform.commons
Class Environment

java.lang.Object
  extended by org.exoplatform.commons.Environment

public class Environment
extends Object


Field Summary
static int JBOSS_PLATFORM
           
static int JETTY_PLATFORM
           
static int STAND_ALONE
           
static int TOMCAT_PLATFORM
           
static int UNKNOWN
           
static int WEBLOGIC_PLATFORM
           
static int WEBSHPERE_PLATFORM
           
 
Method Summary
static Environment getInstance()
           
 int getPlatform()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

STAND_ALONE

public static final int STAND_ALONE
See Also:
Constant Field Values

TOMCAT_PLATFORM

public static final int TOMCAT_PLATFORM
See Also:
Constant Field Values

JBOSS_PLATFORM

public static final int JBOSS_PLATFORM
See Also:
Constant Field Values

JETTY_PLATFORM

public static final int JETTY_PLATFORM
See Also:
Constant Field Values

WEBSHPERE_PLATFORM

public static final int WEBSHPERE_PLATFORM
See Also:
Constant Field Values

WEBLOGIC_PLATFORM

public static final int WEBLOGIC_PLATFORM
See Also:
Constant Field Values
Method Detail

getPlatform

public int getPlatform()

getInstance

public static Environment getInstance()


Copyright © 2009 eXo Platform SAS. All Rights Reserved.