public final class Container
extends java.lang.Object
if (Container.get() == Container.TOMCAT) { .... }| Modifier and Type | Field and Description |
|---|---|
static int |
HPAS |
static int |
JRUN |
static int |
ORION |
static int |
RESIN |
static int |
TOMCAT |
static int |
UNKNOWN |
static int |
WEBLOGIC |
static int |
WEBSPHERE |
| Constructor and Description |
|---|
Container() |
| Modifier and Type | Method and Description |
|---|---|
static int |
get()
Get the current container.
|
public static final int UNKNOWN
public static final int TOMCAT
public static final int RESIN
public static final int ORION
public static final int WEBLOGIC
public static final int HPAS
public static final int JRUN
public static final int WEBSPHERE