Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.mortbay.util.Container
org.mortbay.http.HttpContext
org.mortbay.jetty.servlet.ServletHttpContext
org.mortbay.jetty.servlet.WebApplicationContext
org.mortbay.jetty.plus.PlusWebAppContext
public class PlusWebAppContext
extends WebApplicationContext
Nested Class Summary | |
static class |
Nested classes/interfaces inherited from class org.mortbay.jetty.servlet.WebApplicationContext | |
WebApplicationContext.Configuration |
Field Summary |
Fields inherited from class org.mortbay.http.HttpContext | |
__ErrorHandler , __fileClassPathAttr |
Constructor Summary | |
| |
|
Method Summary | |
void |
|
void |
|
void |
|
Map |
|
Object |
|
boolean | |
void |
|
protected void |
|
protected void | |
void |
|
Methods inherited from class org.mortbay.jetty.servlet.ServletHttpContext | |
addLocaleEncoding , addServlet , addServlet , checkSecurityConstraints , destroy , doStop , enterContextScope , getLocaleEncoding , getServletContext , getServletHandler , jSecurityCheck , sendError , toString |
Methods inherited from class org.mortbay.util.Container | |
addComponent , addEventListener , destroy , doStart , doStop , getComponents , isStarted , isStarting , isStopping , removeComponent , removeEventListener , start , stop |
public PlusWebAppContext()
Constructor.
public PlusWebAppContext(String webApp)
Constructor.
- Parameters:
webApp
- The Web application directory or WAR file.
public void addEnvEntry(String name, Object value)
Add a java:comp/env entry. Values must be serializable to be stored!
public Map getENC() throws NamingException
Get a mapping of java:comp/env bindings for this webapp context.
- Returns:
- flattened map of java:comp/env names to bound objects
public Object getEnvEntry(String name)
public boolean getWebXmlEnvEntryOverride()
public void handle(HttpRequest request, HttpResponse response) throws HttpException, IOException
- Overrides:
- handle in interface HttpContext
protected void initClassLoader(boolean forceContextLoader) throws MalformedURLException, IOException
- Overrides:
- initClassLoader in interface HttpContext
protected void initialize() throws Exception
- Overrides:
- initialize in interface WebApplicationContext
public void setWebXmlEnvEntryOverride(boolean value)