API Overview
API Index
Package Overview
Direct link to this page
Sitemesh 2.3
com.opensymphony.module.sitemesh.util.
Container
View Source
Author(s)
Joe Walnes
Since
Version
$Revision: 1.2 $
Serial
Hierarchy
Object
Container
Implements
Subclasses
See DIRECT subclasses
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
final
class Container
Utility for determining the Servlet Container the application is running in.
Utility for determining the Servlet Container the application is running in.
Currently supported containers: Tomcat, Resin, Orion, OC4J, WebLogic, HPAS, JRun,
Websphere.
Usage:
if (Container.get() == Container.TOMCAT) { .... }
See also:
Constructors
public
Container
()
Methods
Hide/Show inherited methods
public
static
int
get
()
Get the current container.
Fields
Hide/Show inherited fields
public
final
static
int
HPAS
= "5"
public
final
static
int
JRUN
= "6"
public
final
static
int
ORION
= "3"
public
final
static
int
RESIN
= "2"
public
final
static
int
TOMCAT
= "1"
public
final
static
int
UNKNOWN
= "0"
public
final
static
int
WEBLOGIC
= "4"
public
final
static
int
WEBSPHERE
= "7"
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.4 ©Thibaut Colar